Go to the documentation of this file.
13 #ifndef __LEDS_H_INCLUDED
14 #define __LEDS_H_INCLUDED
16 #include <linux/device.h>
20 static inline void __led_set_brightness(
struct led_classdev *led_cdev,
30 static inline int led_get_brightness(
struct led_classdev *led_cdev)
40 #ifdef CONFIG_LEDS_TRIGGERS
48 return led_cdev->trigger_data;
52 #define led_trigger_set_default(x) do {} while (0)
53 #define led_trigger_set(x, y) do {} while (0)
54 #define led_trigger_remove(x) do {} while (0)
55 #define led_get_trigger_data(x) (NULL)