aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/macintosh
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@rpsys.net>2007-02-10 10:04:08 -0500
committerRichard Purdie <rpurdie@rpsys.net>2007-02-20 04:26:40 -0500
commit321709c5994f952b78d567fd7083dbebbdc381b7 (patch)
treedf237c216e8bab6ce5c14d5797a796d4bf889a92 /drivers/macintosh
parente0e34ef7f02915cfe50e501e9f32c24217177a96 (diff)
backlight: Clean up pmac_backlight handling
Move the setting/unsetting of pmac_backlight into the backlight core instead of doing it in each driver. Signed-off-by: Richard Purdie <rpurdie@rpsys.net>
Diffstat (limited to 'drivers/macintosh')
-rw-r--r--drivers/macintosh/via-pmu-backlight.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/macintosh/via-pmu-backlight.c b/drivers/macintosh/via-pmu-backlight.c
index 7ba2042b2dd0..9f9d03127978 100644
--- a/drivers/macintosh/via-pmu-backlight.c
+++ b/drivers/macintosh/via-pmu-backlight.c
@@ -170,11 +170,6 @@ void __init pmu_backlight_init()
170 bd->props->power = FB_BLANK_UNBLANK; 170 bd->props->power = FB_BLANK_UNBLANK;
171 backlight_update_status(bd); 171 backlight_update_status(bd);
172 172
173 mutex_lock(&pmac_backlight_mutex);
174 if (!pmac_backlight)
175 pmac_backlight = bd;
176 mutex_unlock(&pmac_backlight_mutex);
177
178 printk("pmubl: Backlight initialized (%s)\n", name); 173 printk("pmubl: Backlight initialized (%s)\n", name);
179 174
180 return; 175 return;