aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/macintosh/via-pmu-backlight.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/macintosh/via-pmu-backlight.c')
-rw-r--r--drivers/macintosh/via-pmu-backlight.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/macintosh/via-pmu-backlight.c b/drivers/macintosh/via-pmu-backlight.c
index db8bcc35bc03..7ba2042b2dd0 100644
--- a/drivers/macintosh/via-pmu-backlight.c
+++ b/drivers/macintosh/via-pmu-backlight.c
@@ -166,11 +166,9 @@ void __init pmu_backlight_init()
166 pmu_backlight_data.max_brightness / 15); 166 pmu_backlight_data.max_brightness / 15);
167 } 167 }
168 168
169 down(&bd->sem);
170 bd->props->brightness = level; 169 bd->props->brightness = level;
171 bd->props->power = FB_BLANK_UNBLANK; 170 bd->props->power = FB_BLANK_UNBLANK;
172 bd->props->update_status(bd); 171 backlight_update_status(bd);
173 up(&bd->sem);
174 172
175 mutex_lock(&pmac_backlight_mutex); 173 mutex_lock(&pmac_backlight_mutex);
176 if (!pmac_backlight) 174 if (!pmac_backlight)