[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <172433381069.1325598.16630400730677266254.b4-ty@kernel.org>
Date: Thu, 22 Aug 2024 14:36:50 +0100
From: Lee Jones <lee@...nel.org>
To: Suzuki K Poulose <suzuki.poulose@....com>,
Mike Leach <mike.leach@...aro.org>, James Clark <james.clark@...aro.org>,
Alexander Shishkin <alexander.shishkin@...ux.intel.com>,
Michael Hennerich <Michael.Hennerich@...log.com>,
Lars-Peter Clausen <lars@...afoo.de>, Jonathan Cameron <jic23@...nel.org>,
Anand Ashok Dumbre <anand.ashok.dumbre@...inx.com>,
Michal Simek <michal.simek@....com>,
Sakari Ailus <sakari.ailus@...ux.intel.com>, Pavel Machek <pavel@....cz>,
Lee Jones <lee@...nel.org>,
Javier Carrasco <javier.carrasco.cruz@...il.com>
Cc: coresight@...ts.linaro.org, linux-arm-kernel@...ts.infradead.org,
linux-kernel@...r.kernel.org, linux-iio@...r.kernel.org,
linux-leds@...r.kernel.org
Subject: Re: (subset) [PATCH v3 2/2] leds: as3645a: use device_* to iterate
over device child nodes
On Tue, 20 Aug 2024 21:02:27 +0200, Javier Carrasco wrote:
> Drop the manual access to the fwnode of the device to iterate over its
> child nodes. `device_for_each_child_node` macro provides direct access
> to the child nodes, and given that the `child` variable is only required
> within the loop, the scoped variant of the macro can be used.
>
> Use the `device_for_each_child_node_scoped` macro to iterate over the
> direct child nodes of the device.
>
> [...]
Applied, thanks!
[2/2] leds: as3645a: use device_* to iterate over device child nodes
commit: 1041e1d4f061e65a3c47cff34709864293f07284
--
Lee Jones [李琼斯]
Powered by blists - more mailing lists