Commit 56d144d
clk: hsdk-pll: 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-5-lars@metafoo.de
Signed-off-by: Stephen Boyd <sboyd@kernel.org>of_clk_add_hw_provider()
1 parent c2e59c7 commit 56d144d
1 file changed
Lines changed: 2 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
346 | 346 | | |
347 | 347 | | |
348 | 348 | | |
349 | | - | |
350 | | - | |
351 | | - | |
352 | | - | |
353 | | - | |
354 | | - | |
355 | | - | |
| 349 | + | |
| 350 | + | |
356 | 351 | | |
357 | 352 | | |
358 | 353 | | |
| |||
431 | 426 | | |
432 | 427 | | |
433 | 428 | | |
434 | | - | |
435 | 429 | | |
436 | 430 | | |
0 commit comments