Commit c0e1952
clk: uniphier: Use managed
Use the managed `devm_of_clk_add_hw_provider()` instead of
`of_clk_add_hw_provider()`.
This makes sure the provider gets automatically removed on unbind and
allows to completely eliminate the drivers `remove()` callback.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Link: https://lore.kernel.org/r/20230410014502.27929-11-lars@metafoo.de
Signed-off-by: Stephen Boyd <sboyd@kernel.org>of_clk_add_hw_provider()
1 parent 361dde3 commit c0e1952
1 file changed
Lines changed: 2 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
90 | | - | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | | - | |
95 | | - | |
96 | | - | |
| 90 | + | |
| 91 | + | |
97 | 92 | | |
98 | 93 | | |
99 | 94 | | |
| |||
218 | 213 | | |
219 | 214 | | |
220 | 215 | | |
221 | | - | |
222 | 216 | | |
223 | 217 | | |
224 | 218 | | |
| |||
0 commit comments