aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video/nvidia
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@rpsys.net>2007-02-07 19:06:32 -0500
committerRichard Purdie <rpurdie@rpsys.net>2007-02-20 03:37:40 -0500
commitdfcba200679dc3f62212154b65b40b835ce69ab7 (patch)
tree59aef9bbcf713b4e515e2df75c5d1ead2711e80f /drivers/video/nvidia
parent2fd5a15489dd2e58009ffd4ecbadb36a40f67d2b (diff)
backlight: Remove unneeded owner field
Remove uneeded owner field from backlight_properties structure. Nothing uses it and it is unlikely that it will ever be used. The backlight class uses other means to ensure that nothing references unloaded code. Based on a patch from Dmitry Torokhov <dtor@insightbb.com> Signed-off-by: Richard Purdie <rpurdie@rpsys.net>
Diffstat (limited to 'drivers/video/nvidia')
-rw-r--r--drivers/video/nvidia/nv_backlight.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/video/nvidia/nv_backlight.c b/drivers/video/nvidia/nv_backlight.c
index df934bd21899..4254c090dc4b 100644
--- a/drivers/video/nvidia/nv_backlight.c
+++ b/drivers/video/nvidia/nv_backlight.c
@@ -104,7 +104,6 @@ static int nvidia_bl_get_brightness(struct backlight_device *bd)
104} 104}
105 105
106static struct backlight_properties nvidia_bl_data = { 106static struct backlight_properties nvidia_bl_data = {
107 .owner = THIS_MODULE,
108 .get_brightness = nvidia_bl_get_brightness, 107 .get_brightness = nvidia_bl_get_brightness,
109 .update_status = nvidia_bl_update_status, 108 .update_status = nvidia_bl_update_status,
110 .max_brightness = (FB_BACKLIGHT_LEVELS - 1), 109 .max_brightness = (FB_BACKLIGHT_LEVELS - 1),