mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-04 04:06:26 +00:00
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>
This commit is contained in:
parent
19aa984090
commit
c7e4ea68c1
@ -25,6 +25,7 @@ struct device_node;
|
|||||||
* LED Core
|
* LED Core
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
/* This is obsolete/useless. We now support variable maximum brightness. */
|
||||||
enum led_brightness {
|
enum led_brightness {
|
||||||
LED_OFF = 0,
|
LED_OFF = 0,
|
||||||
LED_ON = 1,
|
LED_ON = 1,
|
||||||
|
Loading…
Reference in New Issue
Block a user