[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250310201959.39bad5e1@jic23-huawei>
Date: Mon, 10 Mar 2025 20:19:59 +0000
From: Jonathan Cameron <jic23@...nel.org>
To: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
Cc: Matti Vaittinen <mazziesaccount@...il.com>, Matti Vaittinen
<matti.vaittinen@...rohmeurope.com>, Rob Herring <robh@...nel.org>,
Krzysztof Kozlowski <krzk+dt@...nel.org>, Conor Dooley
<conor+dt@...nel.org>, Daniel Scally <djrscally@...il.com>, Heikki Krogerus
<heikki.krogerus@...ux.intel.com>, Sakari Ailus
<sakari.ailus@...ux.intel.com>, Greg Kroah-Hartman
<gregkh@...uxfoundation.org>, "Rafael J. Wysocki" <rafael@...nel.org>,
Danilo Krummrich <dakr@...nel.org>, Claudiu Manoil
<claudiu.manoil@....com>, Andrew Lunn <andrew+netdev@...n.ch>, "David S.
Miller" <davem@...emloft.net>, Eric Dumazet <edumazet@...gle.com>, Jakub
Kicinski <kuba@...nel.org>, Paolo Abeni <pabeni@...hat.com>,
linux-iio@...r.kernel.org, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org, linux-acpi@...r.kernel.org,
netdev@...r.kernel.org
Subject: Re: [PATCH v6 02/10] property: Add functions to iterate named child
>
> > + 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
Powered by blists - more mailing lists