dm: core: Update uclass_find_device_by_phandle() for livetree
authorSimon Glass <sjg@chromium.org>
Fri, 19 May 2017 02:09:12 +0000 (20:09 -0600)
committerSimon Glass <sjg@chromium.org>
Thu, 1 Jun 2017 13:03:09 +0000 (07:03 -0600)
commita40cc8e12352ee35d095d29125fedd2eb2821228
tree9378091703a39210a9ed34d827b7fa621ef2f432
parent7a993bbcf2664d06e59b5b61f9889737e10529fc
dm: core: Update uclass_find_device_by_phandle() for livetree

Adjust this function to work with livetree.

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