summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPavel Machek <pavel@ucw.cz>2020-03-21 17:01:53 +0100
committerPavel Machek <pavel@ucw.cz>2020-04-06 22:55:27 +0200
commitc7e4ea68c1626cceb966323a4b572e2f8d805138 (patch)
tree458eb98d8b5b77dfbf53498cea51bf1f9809d146
parent19aa98409066b6e0f1f7ecfb404a983724f946f0 (diff)
downloadlwn-c7e4ea68c1626cceb966323a4b572e2f8d805138.tar.gz
lwn-c7e4ea68c1626cceb966323a4b572e2f8d805138.zip
leds: old enums are not really applicable to new code
Warn about old defines that probably should not be used. Signed-off-by: Pavel Machek <pavel@ucw.cz>
-rw-r--r--include/linux/leds.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/leds.h b/include/linux/leds.h
index 75353e5f9d13..2451962d1ec5 100644
--- a/include/linux/leds.h
+++ b/include/linux/leds.h
@@ -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,