diff options
author | Pavel Machek <pavel@ucw.cz> | 2020-03-21 17:01:53 +0100 |
---|---|---|
committer | Pavel Machek <pavel@ucw.cz> | 2020-04-06 22:55:27 +0200 |
commit | c7e4ea68c1626cceb966323a4b572e2f8d805138 (patch) | |
tree | 458eb98d8b5b77dfbf53498cea51bf1f9809d146 /include | |
parent | leds: ip30: label power LED as such (diff) | |
download | linux-c7e4ea68c1626cceb966323a4b572e2f8d805138.tar.xz linux-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>
Diffstat (limited to 'include')
-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, |