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 <sjg@chromium.org> Reported-by:
Patrick Delaunay <patrick.delaunay@foss.st.com> Reported-by:
Tim Harvey <tharvey@gateworks.com>
Loading
Please register or sign in to comment