leds: old enums are not really applicable to new code
authorPavel Machek <pavel@ucw.cz>
Sat, 21 Mar 2020 16:01:53 +0000 (17:01 +0100)
committerPavel Machek <pavel@ucw.cz>
Mon, 6 Apr 2020 20:55:27 +0000 (22:55 +0200)
Warn about old defines that probably should not be used.

Signed-off-by: Pavel Machek <pavel@ucw.cz>
include/linux/leds.h

index 75353e5..2451962 100644 (file)
@@ -25,6 +25,7 @@ struct device_node;
  * LED Core
  */
 
+/* This is obsolete/useless. We now support variable maximum brightness. */
 enum led_brightness {
        LED_OFF         = 0,
        LED_ON          = 1,