projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
19aa984
)
leds: old enums are not really applicable to new code
author
Pavel Machek
<pavel@ucw.cz>
Sat, 21 Mar 2020 16:01:53 +0000
(17:01 +0100)
committer
Pavel 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
patch
|
blob
|
history
diff --git
a/include/linux/leds.h
b/include/linux/leds.h
index
75353e5
..
2451962
100644
(file)
--- 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,