Commit f042ebc
clk: axm5516: 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-2-lars@metafoo.de
Signed-off-by: Stephen Boyd <sboyd@kernel.org>of_clk_add_hw_provider()
1 parent a301528 commit f042ebc
1 file changed
Lines changed: 1 addition & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
569 | 569 | | |
570 | 570 | | |
571 | 571 | | |
572 | | - | |
573 | | - | |
574 | | - | |
575 | | - | |
576 | | - | |
577 | | - | |
| 572 | + | |
578 | 573 | | |
579 | 574 | | |
580 | 575 | | |
581 | 576 | | |
582 | | - | |
583 | 577 | | |
584 | 578 | | |
585 | 579 | | |
| |||
0 commit comments