diff options
author | Richard Purdie <rpurdie@rpsys.net> | 2007-02-09 04:53:56 -0500 |
---|---|---|
committer | Richard Purdie <rpurdie@rpsys.net> | 2007-02-20 03:38:46 -0500 |
commit | b5c6916b3118d4301dc2f8cf8d33f13e5324a3a5 (patch) | |
tree | c81b4e3ba0c4b6b435b6040ede9fb0b299d71a71 /drivers/video/aty/aty128fb.c | |
parent | 85a3a9aa69c24c056eae578e68d44d5f612e6b51 (diff) |
backlight: Remove unneeded backlight update_status calls
The backlight core listens for blanking events and triggers a
backlight_update_status call so these extra calls are not
needed and can be removed.
Signed-off-by: Richard Purdie <rpurdie@rpsys.net>
Diffstat (limited to 'drivers/video/aty/aty128fb.c')
-rw-r--r-- | drivers/video/aty/aty128fb.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/drivers/video/aty/aty128fb.c b/drivers/video/aty/aty128fb.c index 5d8f73b2b66f..1c77cfb8e683 100644 --- a/drivers/video/aty/aty128fb.c +++ b/drivers/video/aty/aty128fb.c | |||
@@ -2209,11 +2209,6 @@ static int aty128fb_blank(int blank, struct fb_info *fb) | |||
2209 | if (par->lock_blank || par->asleep) | 2209 | if (par->lock_blank || par->asleep) |
2210 | return 0; | 2210 | return 0; |
2211 | 2211 | ||
2212 | #ifdef CONFIG_FB_ATY128_BACKLIGHT | ||
2213 | if (machine_is(powermac) && blank) | ||
2214 | aty128_bl_set_power(fb, FB_BLANK_POWERDOWN); | ||
2215 | #endif | ||
2216 | |||
2217 | if (blank & FB_BLANK_VSYNC_SUSPEND) | 2212 | if (blank & FB_BLANK_VSYNC_SUSPEND) |
2218 | state |= 2; | 2213 | state |= 2; |
2219 | if (blank & FB_BLANK_HSYNC_SUSPEND) | 2214 | if (blank & FB_BLANK_HSYNC_SUSPEND) |
@@ -2228,11 +2223,6 @@ static int aty128fb_blank(int blank, struct fb_info *fb) | |||
2228 | aty128_set_lcd_enable(par, par->lcd_on && !blank); | 2223 | aty128_set_lcd_enable(par, par->lcd_on && !blank); |
2229 | } | 2224 | } |
2230 | 2225 | ||
2231 | #ifdef CONFIG_FB_ATY128_BACKLIGHT | ||
2232 | if (machine_is(powermac) && !blank) | ||
2233 | aty128_bl_set_power(fb, FB_BLANK_UNBLANK); | ||
2234 | #endif | ||
2235 | |||
2236 | return 0; | 2226 | return 0; |
2237 | } | 2227 | } |
2238 | 2228 | ||