diff options
author | 2023-04-09 18:45:00 -0700 | |
---|---|---|
committer | 2023-04-10 12:56:24 -0700 | |
commit | bda73391c8efea9de9d69503c9ab5a1ecabb1786 (patch) | |
tree | b7d3f03970f321dbe22c3972095687f37e51b9be /scripts/generate_rust_analyzer.py | |
parent | clk: si514: Use managed `of_clk_add_hw_provider()` (diff) | |
download | wireguard-linux-bda73391c8efea9de9d69503c9ab5a1ecabb1786.tar.xz wireguard-linux-bda73391c8efea9de9d69503c9ab5a1ecabb1786.zip |
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 <lars@metafoo.de>
Link: https://lore.kernel.org/r/20230410014502.27929-9-lars@metafoo.de
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions