Skip to content
Snippets Groups Projects
Commit 6aa4fe39 authored by Simon Glass's avatar Simon Glass Committed by Tom Rini
Browse files

dm: core: Rename and fix uclass_get_by_name_len()


It seems that namelen is more common in U-Boot. Rename this function to
fit in better. Also fix a bug where it breaks the operation of
uclass_get_by_name() and add a test.

Signed-off-by: Simon Glass's avatarSimon Glass <sjg@chromium.org>
Reported-by: Patrick Delaunay's avatarPatrick Delaunay <patrick.delaunay@foss.st.com>
Reported-by: default avatarTim Harvey <tharvey@gateworks.com>
parent 8565efd5
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment