clk: use clk_core_enable_lock() a bit more
authorRasmus Villemoes <linux@rasmusvillemoes.dk>
Fri, 5 Mar 2021 00:33:34 +0000 (01:33 +0100)
committerStephen Boyd <sboyd@kernel.org>
Sat, 13 Mar 2021 20:38:00 +0000 (12:38 -0800)
commit35a796315c493f601450f309b1ccfae0a38f3a5e
treeba881f9ef37123e9827304c8950b31fb6f4205c7
parenta38fd8748464831584a19438cbb3082b5a2dab15
clk: use clk_core_enable_lock() a bit more

Use clk_core_enable_lock() and clk_core_disable_lock() in a few places
rather than open-coding them.

Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk>
Link: https://lore.kernel.org/r/20210305003334.575831-1-linux@rasmusvillemoes.dk
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/clk.c