Commit 1ead134
cpufreq: sun50i: Simplify with of_machine_device_match()
Replace open-coded getting root OF node and matching against it with
new of_machine_device_match() helper.
Acked-by: Chen-Yu Tsai <wens@kernel.org>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Link: https://patch.msgid.link/20251112-b4-of-match-matchine-data-v2-4-d46b72003fd6@linaro.org
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>1 parent 83121ec commit 1ead134
1 file changed
Lines changed: 1 addition & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
332 | 332 | | |
333 | 333 | | |
334 | 334 | | |
335 | | - | |
336 | | - | |
337 | | - | |
338 | | - | |
339 | | - | |
340 | | - | |
341 | | - | |
342 | 335 | | |
343 | 336 | | |
344 | 337 | | |
345 | 338 | | |
346 | 339 | | |
347 | 340 | | |
348 | 341 | | |
349 | | - | |
350 | 342 | | |
351 | 343 | | |
352 | | - | |
353 | | - | |
| 344 | + | |
354 | 345 | | |
355 | 346 | | |
356 | 347 | | |
| |||
0 commit comments