diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2023-04-09 18:44:53 -0700 |
---|---|---|
committer | Stephen Boyd <sboyd@kernel.org> | 2023-04-10 12:45:12 -0700 |
commit | f042ebcfccaa9761b4f36ffa33b0663d6f6eaaa4 (patch) | |
tree | 900b46d1cfbadbb073775a591c2f900a2df3f164 /crypto/ecdh_helper.c | |
parent | a301528f79d1ec27cd34122d655e0200a950f960 (diff) | |
download | lwn-f042ebcfccaa9761b4f36ffa33b0663d6f6eaaa4.tar.gz lwn-f042ebcfccaa9761b4f36ffa33b0663d6f6eaaa4.zip |
clk: axm5516: 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 <lars@metafoo.de>
Link: https://lore.kernel.org/r/20230410014502.27929-2-lars@metafoo.de
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'crypto/ecdh_helper.c')
0 files changed, 0 insertions, 0 deletions