diff options
author | Huan Yang <[email protected]> | 2024-08-20 17:46:03 +0800 |
---|---|---|
committer | Daniel Lezcano <[email protected]> | 2024-09-06 14:49:20 +0200 |
commit | 414b2fb4bb5aa09f39262c24ed90b831d18ff984 (patch) | |
tree | 5f0d5cc18bc90e41aaa4bf6cc358c80fecf90387 /lib/crypto/mpi/mpi-sub-ui.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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Daniel Lezcano <[email protected]>
Diffstat (limited to 'lib/crypto/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions