diff options
author | Hans de Goede <[email protected]> | 2023-01-20 12:45:16 +0100 |
---|---|---|
committer | Lee Jones <[email protected]> | 2023-01-27 11:06:42 +0000 |
commit | 537bdca2a085f524b74ac2aa83822d081c585ca6 (patch) | |
tree | 0ca331e0943d2601b3f6f2f47c4328305675343f /tools/testing/selftests/bpf/progs/test_prog_array_init.c | |
parent | fafef58ef419f08bb761714a109870b617ac0bc0 (diff) |
leds: led-class: Add __devm_led_get() helper
Add a __devm_led_get() helper which registers a passed in led_classdev
with devm for unregistration.
This is a preparation patch for adding a generic (non devicetree specific)
devm_led_get() function.
Reviewed-by: Andy Shevchenko <[email protected]>
Reviewed-by: Linus Walleij <[email protected]>
Signed-off-by: Hans de Goede <[email protected]>
Signed-off-by: Lee Jones <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_prog_array_init.c')
0 files changed, 0 insertions, 0 deletions