Re: [PATCH v2 02/11] cpufreq: dt-platdev: Simplify with of_machine_get_match_data()

From: AngeloGioacchino Del Regno

Date: Wed Nov 12 2025 - 06:44:38 EST


Il 12/11/25 11:28, Krzysztof Kozlowski ha scritto:
Replace open-coded getting root OF node, matching against it and getting
the match data with two new helpers: of_machine_get_match_data() and
of_machine_device_match().

Acked-by: Viresh Kumar <viresh.kumar@xxxxxxxxxx>
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxx>

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