diff options
author | Lars-Peter Clausen <[email protected]> | 2023-04-09 18:45:00 -0700 |
---|---|---|
committer | Stephen Boyd <[email protected]> | 2023-04-10 12:56:24 -0700 |
commit | bda73391c8efea9de9d69503c9ab5a1ecabb1786 (patch) | |
tree | b7d3f03970f321dbe22c3972095687f37e51b9be /lib/test_fortify/write_overflow-strncpy-src.c | |
parent | a7f3b6757acde808e1558ffa23b4a80f6831a081 (diff) |
clk: si570: Use managed `of_clk_add_hw_provider()`
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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Stephen Boyd <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions