diff options
| author | Huan Yang <[email protected]> | 2024-08-21 01:37:25 +0000 |
|---|---|---|
| committer | Lee Jones <[email protected]> | 2024-08-22 13:48:24 +0000 |
| commit | 4968f6721332189d36d6d799be61325921906a8c (patch) | |
| tree | 0bde6b174d2b12c7257ba01f0d4a02bd1938b605 /security/selinux/hooks.c | |
| parent | leds: as3645a: Use device_* to iterate over device child nodes (diff) | |
| download | kernel-4968f6721332189d36d6d799be61325921906a8c.tar.gz kernel-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 <[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 'security/selinux/hooks.c')
0 files changed, 0 insertions, 0 deletions
