commit | 6be2030dd752041fe35a948df78029aaec598b1e | [log] [tgz] |
---|---|---|
author | Marek BehĂșn <marek.behun@nic.cz> | Fri Sep 18 00:33:12 2020 +0200 |
committer | Pavel Machek <pavel@ucw.cz> | Sat Sep 26 21:56:41 2020 +0200 |
tree | afe3ac70f8ab436787681139821a138f3e80e93f | |
parent | 1016daf98179c657c226bfa820e65f286edc2d29 [diff] |
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>