diff options
author | Huan Yang <link@vivo.com> | 2024-08-21 04:37:25 +0300 |
---|---|---|
committer | Lee Jones <lee@kernel.org> | 2024-08-22 16:48:24 +0300 |
commit | 4968f6721332189d36d6d799be61325921906a8c (patch) | |
tree | 0bde6b174d2b12c7257ba01f0d4a02bd1938b605 /rust/helpers/task.c | |
parent | 77b2b4759849a9bb1cb54829f52945bad7a46919 (diff) | |
download | linux-4968f6721332189d36d6d799be61325921906a8c.tar.xz |
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/task.c')
0 files changed, 0 insertions, 0 deletions