summaryrefslogtreecommitdiff
path: root/drivers/acpi/spcr.c
diff options
context:
space:
mode:
authorMarek BehĂșn <marek.behun@nic.cz>2020-09-18 01:33:37 +0300
committerPavel Machek <pavel@ucw.cz>2020-09-26 22:56:42 +0300
commitf847ef543ce45c917bcbcafb2555aa9e5968c385 (patch)
tree41c8f48a3fff247fe03e1b8a687d057947e4af84 /drivers/acpi/spcr.c
parent48b77cdca50a180fd1f22f4ae3b3d1e4ec7d2e5c (diff)
downloadlinux-f847ef543ce45c917bcbcafb2555aa9e5968c385.tar.xz
leds: ns2: 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: Simon Guinot <simon.guinot@sequanux.org> Cc: Simon Guinot <sguinot@lacie.com> Cc: Vincent Donnefort <vdonnefort@gmail.com> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Cc: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Pavel Machek <pavel@ucw.cz>
Diffstat (limited to 'drivers/acpi/spcr.c')
0 files changed, 0 insertions, 0 deletions