[PATCH v4 16/42] dm: core: Drop uclass_find_device_by_phandle() with of-platdata

Simon Glass sjg at chromium.org
Wed Mar 17 02:28:34 CET 2021


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 at chromium.org>
---

(no changes since v1)

 drivers/core/uclass.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Applied to u-boot-dm/next, thanks!


More information about the U-Boot mailing list