Skip to content
Commit 6be2030d authored by Marek Behún's avatar Marek Behún Committed by Pavel Machek
Browse files

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: default avatarMarek Behún <marek.behun@nic.cz>
Cc: H. Nikolaus Schaller <hns@goldelico.com>
Cc: David Rivshin <drivshin@allworx.com>
Signed-off-by: default avatarPavel Machek <pavel@ucw.cz>
parent 1016daf9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment