Skip to content

Commit c7e4ea6

Browse files
committed
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]>
1 parent 19aa984 commit c7e4ea6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

include/linux/leds.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ struct device_node;
2525
* LED Core
2626
*/
2727

28+
/* This is obsolete/useless. We now support variable maximum brightness. */
2829
enum led_brightness {
2930
LED_OFF = 0,
3031
LED_ON = 1,

0 commit comments

Comments
 (0)