diff options
author | Richard Purdie <rpurdie@rpsys.net> | 2007-02-09 01:34:52 +0100 |
---|---|---|
committer | Richard Purdie <rpurdie@rpsys.net> | 2007-02-20 09:38:45 +0100 |
commit | 1cfc97f21f6ab91df8d5617fcbf758322fdd238b (patch) | |
tree | 610ccaa9d6d57d79c293d3d23fe813fb9c54fa7d /drivers/video/nvidia/nv_proto.h | |
parent | backlight: Convert semaphore -> mutex (diff) | |
download | linux-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/nv_proto.h')
-rw-r--r-- | drivers/video/nvidia/nv_proto.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/video/nvidia/nv_proto.h b/drivers/video/nvidia/nv_proto.h index 43058d0cf5b7..ff5c410355ea 100644 --- a/drivers/video/nvidia/nv_proto.h +++ b/drivers/video/nvidia/nv_proto.h @@ -67,11 +67,9 @@ extern int nvidiafb_sync(struct fb_info *info); #ifdef CONFIG_FB_NVIDIA_BACKLIGHT extern void nvidia_bl_init(struct nvidia_par *par); extern void nvidia_bl_exit(struct nvidia_par *par); -extern void nvidia_bl_set_power(struct fb_info *info, int power); #else static inline void nvidia_bl_init(struct nvidia_par *par) {} static inline void nvidia_bl_exit(struct nvidia_par *par) {} -static inline void nvidia_bl_set_power(struct fb_info *info, int power) {} #endif #endif /* __NV_PROTO_H__ */ |