Skip to content
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: default avatarSimon Glass <sjg@chromium.org>
Reported-by: default avatarPatrick Delaunay <patrick.delaunay@foss.st.com>
Reported-by: default avatarTim Harvey <tharvey@gateworks.com>
parent 8565efd5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment