diff options
author | Marek BehĂșn <[email protected]> | 2020-09-18 00:33:37 +0200 |
---|---|---|
committer | Pavel Machek <[email protected]> | 2020-09-26 21:56:42 +0200 |
commit | f847ef543ce45c917bcbcafb2555aa9e5968c385 (patch) | |
tree | 41c8f48a3fff247fe03e1b8a687d057947e4af84 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 48b77cdca50a180fd1f22f4ae3b3d1e4ec7d2e5c (diff) |
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 <[email protected]>
Cc: Simon Guinot <[email protected]>
Cc: Simon Guinot <[email protected]>
Cc: Vincent Donnefort <[email protected]>
Cc: Thomas Petazzoni <[email protected]>
Cc: Linus Walleij <[email protected]>
Signed-off-by: Pavel Machek <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions