Commit a301528
clk: axi-clkgen: 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-1-lars@metafoo.de
Signed-off-by: Stephen Boyd <sboyd@kernel.org>of_clk_add_hw_provider()
1 parent ce1c5f8 commit a301528
1 file changed
Lines changed: 2 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
553 | 553 | | |
554 | 554 | | |
555 | 555 | | |
556 | | - | |
557 | | - | |
558 | | - | |
559 | | - | |
560 | | - | |
561 | | - | |
562 | | - | |
| 556 | + | |
| 557 | + | |
563 | 558 | | |
564 | 559 | | |
565 | 560 | | |
| |||
581 | 576 | | |
582 | 577 | | |
583 | 578 | | |
584 | | - | |
585 | 579 | | |
586 | 580 | | |
587 | 581 | | |
| |||
0 commit comments