Re: [PATCH v5 8/8] driver core: Move two simple APIs for finding child device to header

From: Jonathan Cameron
Date: Tue Dec 24 2024 - 11:29:04 EST


On Tue, 24 Dec 2024 21:37:27 +0800
Zijun Hu <zijun_hu@xxxxxxxxxx> wrote:

> From: Zijun Hu <quic_zijuhu@xxxxxxxxxxx>
>
> The following two APIs are for finding child device, and both only have
> one line code in function body.
> device_find_child_by_name()
> device_find_any_child()
>
> Move them to header as static inline function.
>
> Signed-off-by: Zijun Hu <quic_zijuhu@xxxxxxxxxxx>

Reviewed-by: Jonathan Cameron <Jonathan.Cameron@xxxxxxxxxx>