diff options
author | Huan Yang <link@vivo.com> | 2024-08-20 17:46:03 +0800 |
---|---|---|
committer | Daniel Lezcano <daniel.lezcano@linaro.org> | 2024-09-06 14:49:20 +0200 |
commit | 414b2fb4bb5aa09f39262c24ed90b831d18ff984 (patch) | |
tree | 5f0d5cc18bc90e41aaa4bf6cc358c80fecf90387 /lib/crypto/mpi/mpi-add.c | |
parent | e86c8186d03a6ba018e881ed45f0962ad553e861 (diff) |
clocksource/drivers/ingenic: Use devm_clk_get_enabled() helpers
The devm_clk_get_enabled() helpers:
- call devm_clk_get()
- call clk_prepare_enable() and register what is needed in order to
call clk_disable_unprepare() when needed, as a managed resource.
This simplifies the code and avoids the calls to clk_disable_unprepare().
Signed-off-by: Huan Yang <link@vivo.com>
Link: https://lore.kernel.org/r/20240820094603.103598-1-link@vivo.com
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Diffstat (limited to 'lib/crypto/mpi/mpi-add.c')
0 files changed, 0 insertions, 0 deletions