aboutsummaryrefslogtreecommitdiff
path: root/lib/crypto/mpi/mpi-sub-ui.c
diff options
context:
space:
mode:
authorHuan Yang <[email protected]>2024-08-20 17:44:49 +0800
committerDaniel Lezcano <[email protected]>2024-09-02 13:14:23 +0200
commitd5714524fc2ce2a89fbe7abb06eccbb94920ec72 (patch)
tree6ab847f1742fb7cd7ca2a184533590faa24c0c5b /lib/crypto/mpi/mpi-sub-ui.c
parentf41e6475ff100f71f8b90ccf5182e70dd2f9c11f (diff)
thermal/drivers/sprd: 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]> Reviewed-by: Baolin Wang <[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