]> www.infradead.org Git - users/jedix/linux-maple.git/commit
leds: class: Add flag to avoid automatic renaming of LED devices
authorThomas Weißschuh <linux@weissschuh.net>
Sun, 26 May 2024 18:17:16 +0000 (20:17 +0200)
committerLee Jones <lee@kernel.org>
Fri, 14 Jun 2024 09:09:40 +0000 (10:09 +0100)
commit6b0d3355e5a58fd73529fa6f930a877caca3f75d
treedad3703a6f01d98d56afcd2f86c4f850c9b6c3f5
parentbfefbecdeadc608c625e85259ad0a89d34728d61
leds: class: Add flag to avoid automatic renaming of LED devices

Add a mechanism for drivers to opt-out of the automatic device renaming
on conflicts.
Those drivers will provide their own conflict resolution.

Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Link: https://lore.kernel.org/r/20240526-cros_ec-kbd-led-framework-v3-2-ee577415a521@weissschuh.net
Signed-off-by: Lee Jones <lee@kernel.org>
drivers/leds/led-class.c
include/linux/leds.h