diff options
author | Richard Purdie <rpurdie@rpsys.net> | 2007-02-08 19:34:52 -0500 |
---|---|---|
committer | Richard Purdie <rpurdie@rpsys.net> | 2007-02-20 03:38:45 -0500 |
commit | 1cfc97f21f6ab91df8d5617fcbf758322fdd238b (patch) | |
tree | 610ccaa9d6d57d79c293d3d23fe813fb9c54fa7d /drivers/video/nvidia/nv_proto.h | |
parent | 249040dc7fd391186f420fe23a9b59d357103cac (diff) |
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); | |||
67 | #ifdef CONFIG_FB_NVIDIA_BACKLIGHT | 67 | #ifdef CONFIG_FB_NVIDIA_BACKLIGHT |
68 | extern void nvidia_bl_init(struct nvidia_par *par); | 68 | extern void nvidia_bl_init(struct nvidia_par *par); |
69 | extern void nvidia_bl_exit(struct nvidia_par *par); | 69 | extern void nvidia_bl_exit(struct nvidia_par *par); |
70 | extern void nvidia_bl_set_power(struct fb_info *info, int power); | ||
71 | #else | 70 | #else |
72 | static inline void nvidia_bl_init(struct nvidia_par *par) {} | 71 | static inline void nvidia_bl_init(struct nvidia_par *par) {} |
73 | static inline void nvidia_bl_exit(struct nvidia_par *par) {} | 72 | static inline void nvidia_bl_exit(struct nvidia_par *par) {} |
74 | static inline void nvidia_bl_set_power(struct fb_info *info, int power) {} | ||
75 | #endif | 73 | #endif |
76 | 74 | ||
77 | #endif /* __NV_PROTO_H__ */ | 75 | #endif /* __NV_PROTO_H__ */ |