Add a function which looks up a device by its node (either in live tree or flat tree).
Signed-off-by: Simon Glass <s...@chromium.org> --- Changes in v3: None Changes in v2: None drivers/core/uclass.c | 37 +++++++++++++++++++++++++++++++++++++ include/dm/uclass-internal.h | 18 ++++++++++++++++++ include/dm/uclass.h | 17 +++++++++++++++++ 3 files changed, 72 insertions(+) Applied to u-boot-dm _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot