diff options
Diffstat (limited to 'drivers/leds/led-class.c')
-rw-r--r-- | drivers/leds/led-class.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/leds/led-class.c b/drivers/leds/led-class.c index 71666a40b79a..7440c58b8e6f 100644 --- a/drivers/leds/led-class.c +++ b/drivers/leds/led-class.c | |||
@@ -24,12 +24,6 @@ | |||
24 | 24 | ||
25 | static struct class *leds_class; | 25 | static struct class *leds_class; |
26 | 26 | ||
27 | static void led_update_brightness(struct led_classdev *led_cdev) | ||
28 | { | ||
29 | if (led_cdev->brightness_get) | ||
30 | led_cdev->brightness = led_cdev->brightness_get(led_cdev); | ||
31 | } | ||
32 | |||
33 | static ssize_t brightness_show(struct device *dev, | 27 | static ssize_t brightness_show(struct device *dev, |
34 | struct device_attribute *attr, char *buf) | 28 | struct device_attribute *attr, char *buf) |
35 | { | 29 | { |