Commit 361dde3
clk: si5351: 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-10-lars@metafoo.de
Signed-off-by: Stephen Boyd <sboyd@kernel.org>of_clk_add_hw_provider()
1 parent bda7339 commit 361dde3
1 file changed
Lines changed: 2 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1641 | 1641 | | |
1642 | 1642 | | |
1643 | 1643 | | |
1644 | | - | |
1645 | | - | |
| 1644 | + | |
| 1645 | + | |
1646 | 1646 | | |
1647 | 1647 | | |
1648 | 1648 | | |
| |||
1651 | 1651 | | |
1652 | 1652 | | |
1653 | 1653 | | |
1654 | | - | |
1655 | | - | |
1656 | | - | |
1657 | | - | |
1658 | | - | |
1659 | 1654 | | |
1660 | 1655 | | |
1661 | 1656 | | |
1662 | 1657 | | |
1663 | 1658 | | |
1664 | 1659 | | |
1665 | | - | |
1666 | 1660 | | |
1667 | 1661 | | |
1668 | 1662 | | |
| |||
0 commit comments