mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-18 19:12:56 +00:00
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: Stefan Kalscheuer <stefan@stklcode.de> Link: https://lore.kernel.org/r/20240204150726.29783-1-stefan@stklcode.de Signed-off-by: Lee Jones <lee@kernel.org>
This commit is contained in:
parent
46f02b681b
commit
ccc35ff2fd
1 changed files with 6 additions and 5 deletions
Loading…
Add table
Add a link
Reference in a new issue