diff options
author | 2019-09-20 13:58:05 +0200 | |
---|---|---|
committer | 2019-11-03 17:37:29 +0100 | |
commit | 1ab4531ad13208c7721bd98300e2aa7a3a5500a3 (patch) | |
tree | a66dd722d0f26450a4dd18cd13a2b1384f380e5b /drivers/leds/trigger/ledtrig-audio.c | |
parent | leds: bcm6358: Use devm_platform_ioremap_resource() in bcm6358_leds_probe() (diff) | |
download | linux-dev-1ab4531ad13208c7721bd98300e2aa7a3a5500a3.tar.xz linux-dev-1ab4531ad13208c7721bd98300e2aa7a3a5500a3.zip |
leds: tlc591xx: simplify driver by using the managed led API
Use the managed API of the LED class (devm_led_classdev_register()
instead of led_classdev_register()).
This allows us to remove the code used to track-and-destroy the LED devices.
Signed-off-by: Jean-Jacques Hiblot <jjhiblot@ti.com>
Reviewed-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Signed-off-by: Pavel Machek <pavel@ucw.cz>
Diffstat (limited to 'drivers/leds/trigger/ledtrig-audio.c')
0 files changed, 0 insertions, 0 deletions