Re: [PATCH v2 0/3] use device_for_each_child_node_scoped to access device child nodes

Suzuki K Poulose
2024-08-19T14:33:51Z

On Thu, 08 Aug 2024 17:12:36 +0200, Javier Carrasco wrote:
> This series removes accesses to the device `fwnode` to iterate over its
> own child nodes. Using the `device_for_each_child_node` macro provides
> direct access to the device child nodes, and given that in all cases
> they are only required within the loop, the scoped variant of the macro
> can be used.
>
> It has been stated in previous discussions [1] that `device_for_each_*`
> should be used to access device child nodes, removing the need to access
> its internal fwnode, and restricting `fwnode_for_each_*` to traversing
> subnodes when required.
>
> [...]

Applied, to coresight next tree. Thanks!

[1/3] coresight: cti: use device_* to iterate over device child nodes
https://git.kernel.org/coresight/c/daca644d0c9e0

Best regards,
--
Suzuki K Poulose <suzuki.poulose@arm.com>