[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <2026012054-fling-outscore-9855@gregkh>
Date: Tue, 20 Jan 2026 16:15:01 +0100
From: Greg KH <gregkh@...uxfoundation.org>
To: Danilo Krummrich <dakr@...nel.org>
Cc: rafael@...nel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] driver-core: move devres_for_each_res() to base.h
On Mon, Jan 19, 2026 at 05:27:57PM +0100, Danilo Krummrich wrote:
> devres_for_each_res() is only used by .../firmware_loader/main.c, which
> already includes base.h.
>
> The usage of devres_for_each_res() by code outside of driver-core is
> questionable, hence move it to base.h.
>
> Signed-off-by: Danilo Krummrich <dakr@...nel.org>
> ---
> drivers/base/base.h | 4 ++++
> include/linux/device/devres.h | 4 ----
> 2 files changed, 4 insertions(+), 4 deletions(-)
Acked-by: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Powered by blists - more mailing lists