commit | f1f519f5f43f9bcb47134911b5ddd8801e9ebce7 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Sun Apr 24 23:30:59 2022 -0600 |
committer | Tom Rini <trini@konsulko.com> | Mon Apr 25 10:00:03 2022 -0400 |
tree | eaf85bd156690a2fd2ab9a77e92ce31c53f2b35a | |
parent | 4bf2fc155943a6178bcf2b0671217d5f55e8502a [diff] |
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>