leds: tlc591xx: use devm_led_classdev_register_ext()
authorJean-Jacques Hiblot <jjhiblot@ti.com>
Fri, 20 Sep 2019 11:58:06 +0000 (13:58 +0200)
committerPavel <pavel@ucw.cz>
Sun, 3 Nov 2019 16:37:35 +0000 (17:37 +0100)
commit5b4b723c483f5027da77409f34b8b4602ee1e557
treee4b94aa7db17f860d7ad80781ec52bd88ec7d674
parent1ab4531ad13208c7721bd98300e2aa7a3a5500a3
leds: tlc591xx: use devm_led_classdev_register_ext()

Use devm_led_classdev_register_ext() to pass the fwnode to the LED core.
The fwnode can then be used by the firmware core to create meaningful
names.

Signed-off-by: Jean-Jacques Hiblot <jjhiblot@ti.com>
Signed-off-by: Pavel Machek <pavel@ucw.cz>
drivers/leds/leds-tlc591xx.c