leds: disallow /sys/class/leds/*:multi:* for now
authorPavel Machek <pavel@ucw.cz>
Mon, 3 Aug 2020 12:00:06 +0000 (14:00 +0200)
committerPavel Machek <pavel@ucw.cz>
Mon, 3 Aug 2020 12:00:06 +0000 (14:00 +0200)
commit77dce3a22e8941552a15046d4113df9ce132fb3d
tree7dad296765c27d36364aeaed031bc2854af2423d
parent54212f5a1ba3123281877e54c1e5f672bf7563d8
leds: disallow /sys/class/leds/*:multi:* for now

All the LEDs in the queue are RGB, so they should not use multi for
their color.

Make sure we don't add such LED by mistake (and make it part of ABI).

Signed-off-by: Pavel Machek <pavel@ucw.cz>
drivers/leds/led-core.c