diff options
author | 2024-08-21 09:37:25 +0800 | |
---|---|---|
committer | 2024-08-22 14:48:24 +0100 | |
commit | 4968f6721332189d36d6d799be61325921906a8c (patch) | |
tree | 0bde6b174d2b12c7257ba01f0d4a02bd1938b605 /rust/helpers/workqueue.c | |
parent | leds: as3645a: Use device_* to iterate over device child nodes (diff) | |
download | wireguard-linux-4968f6721332189d36d6d799be61325921906a8c.tar.xz wireguard-linux-4968f6721332189d36d6d799be61325921906a8c.zip |
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 <christophe.jaillet@wanadoo.fr>
Signed-off-by: Huan Yang <link@vivo.com>
Link: https://lore.kernel.org/r/20240821013725.785956-1-link@vivo.com
Signed-off-by: Lee Jones <lee@kernel.org>
Diffstat (limited to 'rust/helpers/workqueue.c')
0 files changed, 0 insertions, 0 deletions