Re: [PATCH v2 1/2] driver core: Introduce device_find_any_child() helper

From: Greg Kroah-Hartman
Date: Fri Jun 10 2022 - 09:55:14 EST


On Fri, Jun 10, 2022 at 03:02:18PM +0300, Andy Shevchenko wrote:
> There are several places in the kernel where this kind of functionality is
> being used. Provide a generic helper for such cases.
>
> Signed-off-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>
> ---
> v2: renamed method (Greg), refactored it (Rafael)

Much nicer, thanks, I'll go queue this up now.

greg k-h