diff options
Diffstat (limited to 'drivers/video/backlight/backlight.c')
-rw-r--r-- | drivers/video/backlight/backlight.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/video/backlight/backlight.c b/drivers/video/backlight/backlight.c index 9593fdc042f7..a9c013bb9f20 100644 --- a/drivers/video/backlight/backlight.c +++ b/drivers/video/backlight/backlight.c | |||
@@ -131,10 +131,8 @@ static ssize_t backlight_store_brightness(struct device *dev, | |||
131 | else { | 131 | else { |
132 | pr_debug("backlight: set brightness to %lu\n", | 132 | pr_debug("backlight: set brightness to %lu\n", |
133 | brightness); | 133 | brightness); |
134 | if (bd->props.brightness != brightness) { | 134 | bd->props.brightness = brightness; |
135 | bd->props.brightness = brightness; | 135 | backlight_update_status(bd); |
136 | backlight_update_status(bd); | ||
137 | } | ||
138 | rc = count; | 136 | rc = count; |
139 | } | 137 | } |
140 | } | 138 | } |