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:
Pavel Machek 2020-03-21 17:01:53 +01:00
parent 19aa984090
commit c7e4ea68c1

View file

@ -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,