Commit ccc35ff2 authored by Stefan Kalscheuer's avatar Stefan Kalscheuer Committed by Lee Jones
Browse files

leds: spi-byte: Use devm_led_classdev_register_ext()



Use extended classdev registration to generate generic device names from
color and function enums instead of reading only the label from the
device tree.

Signed-off-by: default avatarStefan Kalscheuer <stefan@stklcode.de>
Link: https://lore.kernel.org/r/20240204150726.29783-1-stefan@stklcode.de


Signed-off-by: default avatarLee Jones <lee@kernel.org>
parent 46f02b68
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment