Skip to content
Commit a50ff283 authored by Jacek Anaszewski's avatar Jacek Anaszewski
Browse files

leds: lm3692x: Use generic support for composing LED names



Switch to using generic LED support for composing LED class
device name.

At this occassion remove initialization of struct led_classdev's
dev->of_node property in the driver, since now it will be taken from
fwnode assigned to struct led_init_data and passed to the new
devm_led_classdev_register_ext() API.

Signed-off-by: default avatarJacek Anaszewski <jacek.anaszewski@gmail.com>
Tested-by: default avatarDan Murphy <dmurphy@ti.com>
Acked-by: default avatarPavel Machek <pavel@ucw.cz>
parent 4dcbc8f8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment