Skip to content
Commit 1ab4531a authored by Jean-Jacques Hiblot's avatar Jean-Jacques Hiblot Committed by Pavel
Browse files

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: default avatarJean-Jacques Hiblot <jjhiblot@ti.com>
Reviewed-by: default avatarTomi Valkeinen <tomi.valkeinen@ti.com>
Signed-off-by: default avatarPavel Machek <pavel@ucw.cz>
parent 8b4423d6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment