dm: core: Export uclass_find_device_by_phandle()
authorSimon Glass <sjg@chromium.org>
Sun, 18 Nov 2018 15:14:30 +0000 (08:14 -0700)
committerSimon Glass <sjg@chromium.org>
Thu, 29 Nov 2018 16:30:05 +0000 (09:30 -0700)
commitd0b4f68d199c075f5d734cf184f7eaf1a642083d
tree4c7b05c7d6d195b98514220b8f59ccc148d940d2
parent499fde5c23921add3cf95fecfe0b03d717d5a33b
dm: core: Export uclass_find_device_by_phandle()

This function may be useful to code outside of the code driver-model
implementation. Export it and add a test.

Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/core/uclass.c
include/dm/uclass-internal.h
test/dm/test-fdt.c