summaryrefslogtreecommitdiffstats
path: root/drivers/video/nvidia/nvidia.c
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@rpsys.net>2007-02-09 01:34:52 +0100
committerRichard Purdie <rpurdie@rpsys.net>2007-02-20 09:38:45 +0100
commit1cfc97f21f6ab91df8d5617fcbf758322fdd238b (patch)
tree610ccaa9d6d57d79c293d3d23fe813fb9c54fa7d /drivers/video/nvidia/nvidia.c
parentbacklight: Convert semaphore -> mutex (diff)
downloadlinux-1cfc97f21f6ab91df8d5617fcbf758322fdd238b.tar.xz
linux-1cfc97f21f6ab91df8d5617fcbf758322fdd238b.zip
backlight: Remove uneeded nvidia set_power calls
nvidia_bl_set_power isn't needed since the backlight class handles this by receiving fb events itself and calling update_status so remove it. Signed-off-by: Richard Purdie <rpurdie@rpsys.net>
Diffstat (limited to 'drivers/video/nvidia/nvidia.c')
-rw-r--r--drivers/video/nvidia/nvidia.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/video/nvidia/nvidia.c b/drivers/video/nvidia/nvidia.c
index 8e5b484db649..64f59119c422 100644
--- a/drivers/video/nvidia/nvidia.c
+++ b/drivers/video/nvidia/nvidia.c
@@ -938,8 +938,6 @@ static int nvidiafb_blank(int blank, struct fb_info *info)
NVWriteSeq(par, 0x01, tmp);
NVWriteCrtc(par, 0x1a, vesa);
- nvidia_bl_set_power(info, blank);
-
NVTRACE_LEAVE();
return 0;