Re: [PATCH v11 2/7] of: base: Add for_each_child_of_node_with_prefix()

AngeloGioacchino Del Regno
2024-11-14T10:37:05Z

Il 06/11/24 10:33, Chen-Yu Tsai ha scritto:
> 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@chromium.org>
> Reviewed-by: Rob Herring (Arm) <robh@kernel.org>

Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>