[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <172617309153.737512.5462269215203973657.robh@kernel.org>
Date: Thu, 12 Sep 2024 15:31:32 -0500
From: "Rob Herring (Arm)" <robh@...nel.org>
To: Chen-Yu Tsai <wenst@...omium.org>
Cc: Saravana Kannan <saravanak@...gle.com>, chrome-platform@...ts.linux.dev,
linux-kernel@...r.kernel.org,
Andy Shevchenko <andriy.shevchenko@...ux.intel.com>,
AngeloGioacchino Del Regno <angelogioacchino.delregno@...labora.com>,
Johan Hovold <johan@...nel.org>, devicetree@...r.kernel.org,
Mark Brown <broonie@...nel.org>, Tzung-Bi Shih <tzungbi@...nel.org>,
Matthias Brugger <matthias.bgg@...il.com>,
Benson Leung <bleung@...omium.org>,
Liam Girdwood <lgirdwood@...il.com>,
linux-arm-kernel@...ts.infradead.org, Wolfram Sang <wsa@...nel.org>,
Jiri Kosina <jikos@...nel.org>, linux-i2c@...r.kernel.org,
Douglas Anderson <dianders@...omium.org>,
linux-mediatek@...ts.infradead.org
Subject: Re: [PATCH v7 02/10] of: base: Add
for_each_child_of_node_with_prefix()
On Wed, 11 Sep 2024 15:27:40 +0800, Chen-Yu Tsai wrote:
> There are cases where drivers would go through child device nodes and
> operate on only the ones whose node name starts with a given prefix.
>
> Provide a helper for these users. This will mainly be used in a
> subsequent patch that implements a hardware component prober for I2C
> busses.
>
> Signed-off-by: Chen-Yu Tsai <wenst@...omium.org>
> ---
> Changes since v6:
> - Changed helper name to "for_each_child_of_node_with_prefix()"
> Changes since v5:
> - New patch
> ---
> drivers/of/base.c | 35 +++++++++++++++++++++++++++++++++++
> include/linux/of.h | 9 +++++++++
> 2 files changed, 44 insertions(+)
>
Reviewed-by: Rob Herring (Arm) <robh@...nel.org>
Powered by blists - more mailing lists