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>