Re: [PATCH v6 02/10] property: Add functions to iterate named child

Jonathan Cameron
2025-03-10T20:20:12Z

>
> > + if (!fwnode_name_eq(child, name)) { } else
>
> Ditto.
>
> Note, I believe this won't get v6.15-rc1, so there will be for_each_if()
> available and these will become

Unless this cycle goes long (i.e. an rc8) very unlikely I'll sneak
the series in now due to lack of time to soak in next.

>
> #define fwnode_for_each_named_child_node(fwnode, child, name) \
> fwnode_for_each_child_node(fwnode, child) \
> for_each_if(fwnode_name_eq(child, name))
>
> and so on...

Nice - first time I've seen this :)

Jonathan