diff options
| author | Hans de Goede <[email protected]> | 2023-01-20 11:45:16 +0000 |
|---|---|---|
| committer | Lee Jones <[email protected]> | 2023-01-27 11:06:42 +0000 |
| commit | 537bdca2a085f524b74ac2aa83822d081c585ca6 (patch) | |
| tree | 0ca331e0943d2601b3f6f2f47c4328305675343f /drivers/media/v4l2-core/v4l2-async.c | |
| parent | leds: led-class: Add led_module_get() helper (diff) | |
| download | kernel-537bdca2a085f524b74ac2aa83822d081c585ca6.tar.gz kernel-537bdca2a085f524b74ac2aa83822d081c585ca6.zip | |
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 'drivers/media/v4l2-core/v4l2-async.c')
0 files changed, 0 insertions, 0 deletions
