]> git.dujemihanovic.xyz Git - u-boot.git/commit
dm: core: Drop uclass_find_device_by_phandle() with of-platdata
authorSimon Glass <sjg@chromium.org>
Mon, 15 Mar 2021 04:25:26 +0000 (17:25 +1300)
committerSimon Glass <sjg@chromium.org>
Fri, 26 Mar 2021 04:03:08 +0000 (17:03 +1300)
commit168227a19959cf3fec48e82c6c07fe1f84ced4b2
tree2aaa7d48c3b44861e149d25aeb046844220b0303
parent6ba46a0f21df1804e1c98334215ac57a495d9655
dm: core: Drop uclass_find_device_by_phandle() with of-platdata

At present this function is included in the build but with of-platdata it
only services to produce a confusing link error complaining about a call
to dev_read_u32_default().

Drop it so that any call to uclass_find_device_by_phandle() is flagged as
an error, making it easier to see what is going on.

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