Home
last modified time | relevance | path

Searched hist:"1 ab4531ad13208c7721bd98300e2aa7a3a5500a3" (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/leds/
H A Dleds-tlc591xx.cdiff 1ab4531ad13208c7721bd98300e2aa7a3a5500a3 Fri Sep 20 13:58:05 CEST 2019 Jean-Jacques Hiblot <jjhiblot@ti.com> 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>