]> git.baikalelectronics.ru Git - uboot.git/commit
dm: core: Add a way to find a device by ofnode
authorSimon Glass <sjg@chromium.org>
Fri, 19 May 2017 02:09:09 +0000 (20:09 -0600)
committerSimon Glass <sjg@chromium.org>
Thu, 1 Jun 2017 13:03:08 +0000 (07:03 -0600)
commitc172fffe695b64bde7ab73ed3baf818146ce5cbb
tree7fdd59ec0d5a7cb541a3cb0addc4023b485cc577
parent34f9bf69f11a2e7a45e3840c6b1c4163e0988abe
dm: core: Add a way to find a device by ofnode

Add a function which looks up a device by its node (either in live tree
or flat tree).

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