diff options
author | Jean-Jacques Hiblot <jjhiblot@traphandler.com> | 2023-07-28 17:37:29 +0200 |
---|---|---|
committer | Lee Jones <lee@kernel.org> | 2023-08-17 09:00:34 +0100 |
commit | c7d80059b086c4986cd994a1973ec7a5d75f8eea (patch) | |
tree | b93389acfcb0c97f22b2493f98db93a69bef0c0a /kernel/params.c | |
parent | afb48153220d35f330d0d979792920a31f7d9a81 (diff) |
leds: class: Store the color index in struct led_classdev
Store the color of the LED so that it is not lost after the LED's
name has been composed. This color information can then be exposed to
the user space or used by the LED consumer.
Signed-off-by: Jean-Jacques Hiblot <jjhiblot@traphandler.com>
Link: https://lore.kernel.org/r/20230728153731.3742339-3-jjhiblot@traphandler.com
Signed-off-by: Lee Jones <lee@kernel.org>
Diffstat (limited to 'kernel/params.c')
0 files changed, 0 insertions, 0 deletions