aboutsummaryrefslogtreecommitdiff
path: root/drivers/leds/leds-ns2.c
diff options
context:
space:
mode:
authorGravatar Marek Behún <marek.behun@nic.cz> 2020-09-18 00:33:12 +0200
committerGravatar Pavel Machek <pavel@ucw.cz> 2020-09-26 21:56:41 +0200
commit6be2030dd752041fe35a948df78029aaec598b1e (patch)
treeafe3ac70f8ab436787681139821a138f3e80e93f /drivers/leds/leds-ns2.c
parentleds: pm8058: cosmetic change: no need to return in if guard (diff)
downloadlinux-6be2030dd752041fe35a948df78029aaec598b1e.tar.gz
linux-6be2030dd752041fe35a948df78029aaec598b1e.tar.bz2
linux-6be2030dd752041fe35a948df78029aaec598b1e.zip
leds: is31fl32xx: use struct led_init_data when registering
By using struct led_init_data when registering we do not need to parse `label` DT property. Moreover `label` is deprecated and if it is not present but `color` and `function` are, LED core will compose a name from these properties instead. Signed-off-by: Marek Behún <marek.behun@nic.cz> Cc: H. Nikolaus Schaller <hns@goldelico.com> Cc: David Rivshin <drivshin@allworx.com> Signed-off-by: Pavel Machek <pavel@ucw.cz>
Diffstat (limited to 'drivers/leds/leds-ns2.c')
0 files changed, 0 insertions, 0 deletions