[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <8855b1a5-f1ef-4bb8-af66-2efec060ba87@roeck-us.net>
Date: Fri, 7 Jun 2024 15:09:25 -0700
From: Guenter Roeck <linux@...ck-us.net>
To: Javier Carrasco <javier.carrasco.cruz@...il.com>
Cc: Antoniu Miclaus <antoniu.miclaus@...log.com>,
Jean Delvare <jdelvare@...e.com>,
Tim Harvey <tharvey@...eworks.com>, linux-hwmon@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH 2/2] hwmon: (gsc-hwmon) use
device_for_each_child_node_scoped()
On Thu, Apr 04, 2024 at 01:13:28PM +0200, Javier Carrasco wrote:
> Switch to the _scoped() version introduced in commit 365130fd47af
> ("device property: Introduce device_for_each_child_node_scoped()")
> to remove the need for manual calling of fwnode_handle_put() in the
> paths where the code exits the loop early.
>
> Signed-off-by: Javier Carrasco <javier.carrasco.cruz@...il.com>
Applied.
Guenter
Powered by blists - more mailing lists