diff options
author | Huan Yang <[email protected]> | 2024-08-21 09:37:25 +0800 |
---|---|---|
committer | Lee Jones <[email protected]> | 2024-08-22 14:48:24 +0100 |
commit | 4968f6721332189d36d6d799be61325921906a8c (patch) | |
tree | 0bde6b174d2b12c7257ba01f0d4a02bd1938b605 /lib/crypto/mpi/mpi-sub-ui.c | |
parent | 77b2b4759849a9bb1cb54829f52945bad7a46919 (diff) |
leds: lp55xx: Use devm_clk_get_enabled() helpers
Simplify the code a bunch by using managed resource helpers.
Also, there is no need to save clk pointer anymore.
Suggested-by: Christophe JAILLET <[email protected]>
Signed-off-by: Huan Yang <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Lee Jones <[email protected]>
Diffstat (limited to 'lib/crypto/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions