Commit 1b3e4820 authored by Simon Glass's avatar Simon Glass
Browse files

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's avatarSimon Glass <>
Signed-off-by: Simon Glass's avatarSimon Glass <>
parent 60654d12
......@@ -394,7 +394,7 @@ done:
return ret;
int uclass_find_device_by_phandle(enum uclass_id id, struct udevice *parent,
const char *name, struct udevice **devp)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment