aboutsummaryrefslogtreecommitdiff
path: root/lib/crypto/mpi/mpiutil.c
diff options
context:
space:
mode:
authorWang Jianzheng <[email protected]>2024-08-29 14:49:38 +0800
committerLinus Walleij <[email protected]>2024-09-02 10:26:18 +0200
commit91bb8d0bf2fe69d0116d8f31c5c36b57ef3d8e20 (patch)
tree6df3b287a44b5d07bd19ac5ed0e5f5a60593a6ca /lib/crypto/mpi/mpiutil.c
parent090e6fea5f5ed26643559c5f871bd1f6e748e4d0 (diff)
pinctrl: k210: 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: Wang Jianzheng <[email protected]> Reviewed-by: Damien Le Moal <[email protected]> Link: https://lore.kernel.org/[email protected] Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'lib/crypto/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions