diff options
author | Pavel Machek <pavel@ucw.cz> | 2020-03-21 19:01:53 +0300 |
---|---|---|
committer | Pavel Machek <pavel@ucw.cz> | 2020-04-06 23:55:27 +0300 |
commit | c7e4ea68c1626cceb966323a4b572e2f8d805138 (patch) | |
tree | 458eb98d8b5b77dfbf53498cea51bf1f9809d146 /include/linux/leds.h | |
parent | 19aa98409066b6e0f1f7ecfb404a983724f946f0 (diff) | |
download | linux-c7e4ea68c1626cceb966323a4b572e2f8d805138.tar.xz |
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>
Diffstat (limited to 'include/linux/leds.h')
-rw-r--r-- | include/linux/leds.h | 1 |
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, |