diff options
| author | Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> | 2025-11-06 18:06:08 +0100 |
|---|---|---|
| committer | Stephen Boyd <sboyd@kernel.org> | 2025-11-10 17:02:12 -0800 |
| commit | 79d022dcad375c6ba95e78e9035c8a0630164300 (patch) | |
| tree | 4e24e6a94f286028d19bbdcd73b3442d2e3c7e3d /rust/kernel | |
| parent | 3a8660878839faadb4f1a6dd72c3179c1df56787 (diff) | |
clk: sprd: sc9860: Simplify with of_device_get_match_data()
Driver's probe function matches against driver's of_device_id table,
where each entry has non-NULL match data, so of_match_node() can be
simplified with of_device_get_match_data().
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
[sboyd@kernel.org: Use device_get_match_data() instead, drop
printk noise]
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'rust/kernel')
0 files changed, 0 insertions, 0 deletions
