Skip to content
Commit c7d80059 authored by Jean-Jacques Hiblot's avatar Jean-Jacques Hiblot Committed by Lee Jones
Browse files

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: default avatarJean-Jacques Hiblot <jjhiblot@traphandler.com>
Link: https://lore.kernel.org/r/20230728153731.3742339-3-jjhiblot@traphandler.com
Signed-off-by: default avatarLee Jones <lee@kernel.org>
parent afb48153
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment