diff options
author | Uwe Kleine-König <[email protected]> | 2022-05-20 09:57:35 +0200 |
---|---|---|
committer | Stephen Boyd <[email protected]> | 2022-06-15 19:22:29 -0700 |
commit | abae8e57e49aa75f6db76aa866c775721523908f (patch) | |
tree | 5444821b6910e228d6a7d15afd4d84eb7751efc9 /scripts/gcc-plugins/randomize_layout_plugin.c | |
parent | af89cd45603483135bdd238fcb3fa871155a0ae1 (diff) |
clk: generalize devm_clk_get() a bit
Allow to add an exit hook to devm managed clocks. Also use
clk_get_optional() in devm_clk_get_optional instead of open coding it.
The generalisation will be used in the next commit to add some more
devm_clk helpers.
Reviewed-by: Jonathan Cameron <[email protected]>
Reviewed-by: Alexandru Ardelean <[email protected]>
Signed-off-by: Uwe Kleine-König <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Stephen Boyd <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/randomize_layout_plugin.c')
0 files changed, 0 insertions, 0 deletions