diff options
author | Marek BehĂșn <marek.behun@nic.cz> | 2020-09-18 00:33:37 +0200 |
---|---|---|
committer | Pavel Machek <pavel@ucw.cz> | 2020-09-26 21:56:42 +0200 |
commit | f847ef543ce45c917bcbcafb2555aa9e5968c385 (patch) | |
tree | 41c8f48a3fff247fe03e1b8a687d057947e4af84 /drivers/md/dm-flakey.c | |
parent | 48b77cdca50a180fd1f22f4ae3b3d1e4ec7d2e5c (diff) | |
download | linux-next-f847ef543ce45c917bcbcafb2555aa9e5968c385.tar.gz |
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/md/dm-flakey.c')
0 files changed, 0 insertions, 0 deletions