diff options
author | Richard Purdie <rpurdie@rpsys.net> | 2007-02-09 10:50:47 +0100 |
---|---|---|
committer | Richard Purdie <rpurdie@rpsys.net> | 2007-02-20 09:38:46 +0100 |
commit | 85a3a9aa69c24c056eae578e68d44d5f612e6b51 (patch) | |
tree | d897003052162da25d6ef0751db66c2642731a61 | |
parent | backlight/fbcon: Add FB_EVENT_CONBLANK (diff) | |
download | linux-85a3a9aa69c24c056eae578e68d44d5f612e6b51.tar.xz linux-85a3a9aa69c24c056eae578e68d44d5f612e6b51.zip |
backlight: Remove uneeded update_status call from chipsfb.c
Remove uneeded update_status call from chipsfb.c since the
backlight core now receives software blanking notifications
too.
Signed-off-by: Richard Purdie <rpurdie@rpsys.net>
-rw-r--r-- | drivers/video/chipsfb.c | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/drivers/video/chipsfb.c b/drivers/video/chipsfb.c index 9a656bc6295c..2a17dfc232f3 100644 --- a/drivers/video/chipsfb.c +++ b/drivers/video/chipsfb.c @@ -145,24 +145,6 @@ static int chipsfb_set_par(struct fb_info *info) static int chipsfb_blank(int blank, struct fb_info *info) { -#ifdef CONFIG_PMAC_BACKLIGHT - mutex_lock(&pmac_backlight_mutex); - - if (pmac_backlight) { - /* used to disable backlight only for blank > 1, but it seems - * useful at blank = 1 too (saves battery, extends backlight - * life) - */ - if (blank) - pmac_backlight->props->power = FB_BLANK_POWERDOWN; - else - pmac_backlight->props->power = FB_BLANK_UNBLANK; - backlight_update_status(pmac_backlight); - } - - mutex_unlock(&pmac_backlight_mutex); -#endif /* CONFIG_PMAC_BACKLIGHT */ - return 1; /* get fb_blank to set the colormap to all black */ } |