commit | c7e4ea68c1626cceb966323a4b572e2f8d805138 | [log] [tgz] |
---|---|---|
author | Pavel Machek <[email protected]> | Sat Mar 21 17:01:53 2020 +0100 |
committer | Pavel Machek <[email protected]> | Mon Apr 06 22:55:27 2020 +0200 |
tree | 458eb98d8b5b77dfbf53498cea51bf1f9809d146 | |
parent | 19aa98409066b6e0f1f7ecfb404a983724f946f0 [diff] [blame] |
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 <[email protected]>
diff --git a/include/linux/leds.h b/include/linux/leds.h index 75353e5..2451962 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,