[PATCH v11 2/7] of: base: Add for_each_child_of_node_with_prefix()
AngeloGioacchino Del Regno
angelogioacchino.delregno at collabora.com
Thu Nov 14 02:37:03 PST 2024
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 at chromium.org>
> Reviewed-by: Rob Herring (Arm) <robh at kernel.org>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno at collabora.com>
More information about the Linux-mediatek
mailing list