aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/misc/msi-laptop.c
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/misc/msi-laptop.c
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/misc/msi-laptop.c')
-rw-r--r--drivers/misc/msi-laptop.c1
1 files changed, 0 insertions, 1 deletions
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
163static struct backlight_properties msibl_props = { 163static 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,