diff options
author | Hans de Goede <hdegoede@redhat.com> | 2023-01-20 12:45:16 +0100 |
---|---|---|
committer | Lee Jones <lee@kernel.org> | 2023-01-27 11:06:42 +0000 |
commit | 537bdca2a085f524b74ac2aa83822d081c585ca6 (patch) | |
tree | 0ca331e0943d2601b3f6f2f47c4328305675343f /drivers/media/v4l2-core/v4l2-async.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 <andy.shevchenko@gmail.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Lee Jones <lee@kernel.org>
Link: https://lore.kernel.org/r/20230120114524.408368-4-hdegoede@redhat.com
Diffstat (limited to 'drivers/media/v4l2-core/v4l2-async.c')
0 files changed, 0 insertions, 0 deletions