diff options
author | Richard Purdie <rpurdie@rpsys.net> | 2007-02-07 19:06:32 -0500 |
---|---|---|
committer | Richard Purdie <rpurdie@rpsys.net> | 2007-02-20 03:37:40 -0500 |
commit | dfcba200679dc3f62212154b65b40b835ce69ab7 (patch) | |
tree | 59aef9bbcf713b4e515e2df75c5d1ead2711e80f /drivers/video/aty | |
parent | 2fd5a15489dd2e58009ffd4ecbadb36a40f67d2b (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/aty')
-rw-r--r-- | drivers/video/aty/aty128fb.c | 1 | ||||
-rw-r--r-- | drivers/video/aty/atyfb_base.c | 1 | ||||
-rw-r--r-- | drivers/video/aty/radeon_backlight.c | 1 |
3 files changed, 0 insertions, 3 deletions
diff --git a/drivers/video/aty/aty128fb.c b/drivers/video/aty/aty128fb.c index 2e976ffcde0f..1fa211c0d7bb 100644 --- a/drivers/video/aty/aty128fb.c +++ b/drivers/video/aty/aty128fb.c | |||
@@ -1797,7 +1797,6 @@ static int aty128_bl_get_brightness(struct backlight_device *bd) | |||
1797 | } | 1797 | } |
1798 | 1798 | ||
1799 | static struct backlight_properties aty128_bl_data = { | 1799 | static struct backlight_properties aty128_bl_data = { |
1800 | .owner = THIS_MODULE, | ||
1801 | .get_brightness = aty128_bl_get_brightness, | 1800 | .get_brightness = aty128_bl_get_brightness, |
1802 | .update_status = aty128_bl_update_status, | 1801 | .update_status = aty128_bl_update_status, |
1803 | .max_brightness = (FB_BACKLIGHT_LEVELS - 1), | 1802 | .max_brightness = (FB_BACKLIGHT_LEVELS - 1), |
diff --git a/drivers/video/aty/atyfb_base.c b/drivers/video/aty/atyfb_base.c index 301612cef354..5ea5a00e58a3 100644 --- a/drivers/video/aty/atyfb_base.c +++ b/drivers/video/aty/atyfb_base.c | |||
@@ -2178,7 +2178,6 @@ static int aty_bl_get_brightness(struct backlight_device *bd) | |||
2178 | } | 2178 | } |
2179 | 2179 | ||
2180 | static struct backlight_properties aty_bl_data = { | 2180 | static struct backlight_properties aty_bl_data = { |
2181 | .owner = THIS_MODULE, | ||
2182 | .get_brightness = aty_bl_get_brightness, | 2181 | .get_brightness = aty_bl_get_brightness, |
2183 | .update_status = aty_bl_update_status, | 2182 | .update_status = aty_bl_update_status, |
2184 | .max_brightness = (FB_BACKLIGHT_LEVELS - 1), | 2183 | .max_brightness = (FB_BACKLIGHT_LEVELS - 1), |
diff --git a/drivers/video/aty/radeon_backlight.c b/drivers/video/aty/radeon_backlight.c index 3abfd4a380cc..8b66df6f199a 100644 --- a/drivers/video/aty/radeon_backlight.c +++ b/drivers/video/aty/radeon_backlight.c | |||
@@ -134,7 +134,6 @@ static int radeon_bl_get_brightness(struct backlight_device *bd) | |||
134 | } | 134 | } |
135 | 135 | ||
136 | static struct backlight_properties radeon_bl_data = { | 136 | static struct backlight_properties radeon_bl_data = { |
137 | .owner = THIS_MODULE, | ||
138 | .get_brightness = radeon_bl_get_brightness, | 137 | .get_brightness = radeon_bl_get_brightness, |
139 | .update_status = radeon_bl_update_status, | 138 | .update_status = radeon_bl_update_status, |
140 | .max_brightness = (FB_BACKLIGHT_LEVELS - 1), | 139 | .max_brightness = (FB_BACKLIGHT_LEVELS - 1), |