commit | 9670f7dbc2b822fb2c23cb7cbd1d1cc2cce3d064 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Sun Apr 24 23:31:00 2022 -0600 |
committer | Tom Rini <trini@konsulko.com> | Mon Apr 25 10:00:03 2022 -0400 |
tree | dbfcd2034200743eac28ce5b8ef3dbcd93fc7e95 | |
parent | f1f519f5f43f9bcb47134911b5ddd8801e9ebce7 [diff] |
dm: core: Allow finding a uclass device by partial name In some cases two devices are related and the only way to tell is to check that the names partially patch. Add a way to check this without needing to create a new string for the comparison. Fix the comment for device_find_child_by_namelen() while we are here. Signed-off-by: Simon Glass <sjg@chromium.org>