summaryrefslogtreecommitdiff
path: root/drivers/leds/leds-max77650.c
diff options
context:
space:
mode:
authorMarek Behún <marek.behun@nic.cz>2020-09-19 20:03:03 +0200
committerPavel Machek <pavel@ucw.cz>2020-09-26 21:56:43 +0200
commit006631969880fdc58a585d310c7e8d98dc648e47 (patch)
tree39404bcb150f3e0d22502b5b3141c2dc90dd687e /drivers/leds/leds-max77650.c
parent4b64c0510b66d3d779d1c195de1d5662bb28e948 (diff)
downloadlwn-006631969880fdc58a585d310c7e8d98dc648e47.tar.gz
lwn-006631969880fdc58a585d310c7e8d98dc648e47.zip
leds: syscon: 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: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Pavel Machek <pavel@ucw.cz>
Diffstat (limited to 'drivers/leds/leds-max77650.c')
0 files changed, 0 insertions, 0 deletions