Commit 79d022d
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>1 parent 3a86608 commit 79d022d
1 file changed
Lines changed: 2 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2021 | 2021 | | |
2022 | 2022 | | |
2023 | 2023 | | |
2024 | | - | |
2025 | 2024 | | |
2026 | 2025 | | |
2027 | 2026 | | |
2028 | | - | |
2029 | | - | |
2030 | | - | |
| 2027 | + | |
| 2028 | + | |
2031 | 2029 | | |
2032 | | - | |
2033 | 2030 | | |
2034 | | - | |
2035 | 2031 | | |
2036 | 2032 | | |
2037 | 2033 | | |
| |||
0 commit comments