]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/video/chipsfb.c
backlight: Remove uneeded update_status call from chipsfb.c
[linux-2.6-omap-h63xx.git] / drivers / video / chipsfb.c
index 9a656bc6295c6ef432a511481ab353afba0c8c4d..2a17dfc232f347658615cd4235c53c928947b843 100644 (file)
@@ -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 */
 }