Re: [PATCH v3 06/31] dm: core: Allow finding a uclass device by partial name

2022-01-19 Thread Heinrich Schuchardt
On 1/19/22 02:42, Simon Glass wrote: 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.

[PATCH v3 06/31] dm: core: Allow finding a uclass device by partial name

2022-01-18 Thread Simon Glass
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 --- Chan