Home
last modified time | relevance | path

Searched hist:f847ef543ce45c917bcbcafb2555aa9e5968c385 (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/leds/
H A Dleds-ns2.cdiff f847ef543ce45c917bcbcafb2555aa9e5968c385 Fri Sep 18 00:33:37 CEST 2020 Marek Behún <marek.behun@nic.cz> 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>