aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/leds/trigger/ledtrig-audio.c
diff options
context:
space:
mode:
authorJean-Jacques Hiblot <jjhiblot@ti.com>2019-09-20 13:58:05 +0200
committerPavel <pavel@ucw.cz>2019-11-03 17:37:29 +0100
commit1ab4531ad13208c7721bd98300e2aa7a3a5500a3 (patch)
treea66dd722d0f26450a4dd18cd13a2b1384f380e5b /drivers/leds/trigger/ledtrig-audio.c
parentleds: bcm6358: Use devm_platform_ioremap_resource() in bcm6358_leds_probe() (diff)
downloadlinux-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