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/misc | |
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/misc')
-rw-r--r-- | drivers/misc/asus-laptop.c | 1 | ||||
-rw-r--r-- | drivers/misc/msi-laptop.c | 1 | ||||
-rw-r--r-- | drivers/misc/sony-laptop.c | 1 |
3 files changed, 0 insertions, 3 deletions
diff --git a/drivers/misc/asus-laptop.c b/drivers/misc/asus-laptop.c index e4e2b707a353..d15ee5e34201 100644 --- a/drivers/misc/asus-laptop.c +++ b/drivers/misc/asus-laptop.c | |||
@@ -196,7 +196,6 @@ static struct backlight_device *asus_backlight_device; | |||
196 | static int read_brightness(struct backlight_device *bd); | 196 | static int read_brightness(struct backlight_device *bd); |
197 | static int update_bl_status(struct backlight_device *bd); | 197 | static int update_bl_status(struct backlight_device *bd); |
198 | static struct backlight_properties asusbl_data = { | 198 | static struct backlight_properties asusbl_data = { |
199 | .owner = THIS_MODULE, | ||
200 | .get_brightness = read_brightness, | 199 | .get_brightness = read_brightness, |
201 | .update_status = update_bl_status, | 200 | .update_status = update_bl_status, |
202 | .max_brightness = 15, | 201 | .max_brightness = 15, |
diff --git a/drivers/misc/msi-laptop.c b/drivers/misc/msi-laptop.c index 8e5e07e4c1cf..dd4d92e031b7 100644 --- a/drivers/misc/msi-laptop.c +++ b/drivers/misc/msi-laptop.c | |||
@@ -161,7 +161,6 @@ static int bl_update_status(struct backlight_device *b) | |||
161 | } | 161 | } |
162 | 162 | ||
163 | static struct backlight_properties msibl_props = { | 163 | static struct backlight_properties msibl_props = { |
164 | .owner = THIS_MODULE, | ||
165 | .get_brightness = bl_get_brightness, | 164 | .get_brightness = bl_get_brightness, |
166 | .update_status = bl_update_status, | 165 | .update_status = bl_update_status, |
167 | .max_brightness = MSI_LCD_LEVEL_MAX-1, | 166 | .max_brightness = MSI_LCD_LEVEL_MAX-1, |
diff --git a/drivers/misc/sony-laptop.c b/drivers/misc/sony-laptop.c index cabbed0015e4..03d02bd9f122 100644 --- a/drivers/misc/sony-laptop.c +++ b/drivers/misc/sony-laptop.c | |||
@@ -399,7 +399,6 @@ static int sony_backlight_get_brightness(struct backlight_device *bd) | |||
399 | 399 | ||
400 | static struct backlight_device *sony_backlight_device; | 400 | static struct backlight_device *sony_backlight_device; |
401 | static struct backlight_properties sony_backlight_properties = { | 401 | static struct backlight_properties sony_backlight_properties = { |
402 | .owner = THIS_MODULE, | ||
403 | .update_status = sony_backlight_update_status, | 402 | .update_status = sony_backlight_update_status, |
404 | .get_brightness = sony_backlight_get_brightness, | 403 | .get_brightness = sony_backlight_get_brightness, |
405 | .max_brightness = SONY_MAX_BRIGHTNESS - 1, | 404 | .max_brightness = SONY_MAX_BRIGHTNESS - 1, |