diff options
author | Jean-Jacques Hiblot <jjhiblot@ti.com> | 2019-09-20 13:58:05 +0200 |
---|---|---|
committer | Pavel <pavel@ucw.cz> | 2019-11-03 17:37:29 +0100 |
commit | 1ab4531ad13208c7721bd98300e2aa7a3a5500a3 (patch) | |
tree | a66dd722d0f26450a4dd18cd13a2b1384f380e5b /fs/jffs2 | |
parent | 8b4423d6c5e6515bf6ad7c6c51dfb0a4a95ec606 (diff) |
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 'fs/jffs2')
0 files changed, 0 insertions, 0 deletions