diff options
Diffstat (limited to 'include/linux/leds.h')
-rw-r--r-- | include/linux/leds.h | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/include/linux/leds.h b/include/linux/leds.h index 0201f6f51cea..b07e3d400bd6 100644 --- a/include/linux/leds.h +++ b/include/linux/leds.h | |||
@@ -59,15 +59,7 @@ struct led_classdev { | |||
59 | 59 | ||
60 | extern int led_classdev_register(struct device *parent, | 60 | extern int led_classdev_register(struct device *parent, |
61 | struct led_classdev *led_cdev); | 61 | struct led_classdev *led_cdev); |
62 | extern void __led_classdev_unregister(struct led_classdev *led_cdev, bool sus); | 62 | extern void led_classdev_unregister(struct led_classdev *lcd); |
63 | static inline void led_classdev_unregister(struct led_classdev *lcd) | ||
64 | { | ||
65 | __led_classdev_unregister(lcd, false); | ||
66 | } | ||
67 | static inline void led_classdev_unregister_suspended(struct led_classdev *lcd) | ||
68 | { | ||
69 | __led_classdev_unregister(lcd, true); | ||
70 | } | ||
71 | extern void led_classdev_suspend(struct led_classdev *led_cdev); | 63 | extern void led_classdev_suspend(struct led_classdev *led_cdev); |
72 | extern void led_classdev_resume(struct led_classdev *led_cdev); | 64 | extern void led_classdev_resume(struct led_classdev *led_cdev); |
73 | 65 | ||