]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit93ba0273ff3dc0fa97b2623307f1fb78a1585afd
tree7dad296765c27d36364aeaed031bc2854af2423d
parent073393cbee296bf5b99e72ebd74bc550d60e1c4b
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