[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20241224162840.00004ff5@huawei.com>
Date: Tue, 24 Dec 2024 16:28:40 +0000
From: Jonathan Cameron <Jonathan.Cameron@...wei.com>
To: Zijun Hu <zijun_hu@...oud.com>
CC: Greg Kroah-Hartman <gregkh@...uxfoundation.org>, "Rafael J. Wysocki"
<rafael@...nel.org>, Tejun Heo <tj@...nel.org>, Josef Bacik
<josef@...icpanda.com>, Jens Axboe <axboe@...nel.dk>, Boris Burkov
<boris@....io>, Davidlohr Bueso <dave@...olabs.net>, Dave Jiang
<dave.jiang@...el.com>, Alison Schofield <alison.schofield@...el.com>, Vishal
Verma <vishal.l.verma@...el.com>, Ira Weiny <ira.weiny@...el.com>, Dan
Williams <dan.j.williams@...el.com>, <linux-kernel@...r.kernel.org>,
<cgroups@...r.kernel.org>, <linux-block@...r.kernel.org>,
<linux-cxl@...r.kernel.org>, Zijun Hu <quic_zijuhu@...cinc.com>
Subject: Re: [PATCH v5 8/8] driver core: Move two simple APIs for finding
child device to header
On Tue, 24 Dec 2024 21:37:27 +0800
Zijun Hu <zijun_hu@...oud.com> wrote:
> From: Zijun Hu <quic_zijuhu@...cinc.com>
>
> 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@...cinc.com>
Reviewed-by: Jonathan Cameron <Jonathan.Cameron@...wei.com>
Powered by blists - more mailing lists