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

From: AngeloGioacchino Del Regno
Date: Thu Nov 14 2024 - 05:38:28 EST


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@xxxxxxxxxxxx>
Reviewed-by: Rob Herring (Arm) <robh@xxxxxxxxxx>

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