summaryrefslogtreecommitdiffstats
path: root/drivers/usb/misc/appledisplay.c
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@rpsys.net>2007-02-08 01:06:32 +0100
committerRichard Purdie <rpurdie@rpsys.net>2007-02-20 09:37:40 +0100
commitdfcba200679dc3f62212154b65b40b835ce69ab7 (patch)
tree59aef9bbcf713b4e515e2df75c5d1ead2711e80f /drivers/usb/misc/appledisplay.c
parentbacklight: Fix error handling (diff)
downloadlinux-dfcba200679dc3f62212154b65b40b835ce69ab7.tar.xz
linux-dfcba200679dc3f62212154b65b40b835ce69ab7.zip
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/usb/misc/appledisplay.c')
-rw-r--r--drivers/usb/misc/appledisplay.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/usb/misc/appledisplay.c b/drivers/usb/misc/appledisplay.c
index e573c8ba9785..416cde5893af 100644
--- a/drivers/usb/misc/appledisplay.c
+++ b/drivers/usb/misc/appledisplay.c
@@ -178,7 +178,6 @@ static int appledisplay_bl_get_brightness(struct backlight_device *bd)
}
static struct backlight_properties appledisplay_bl_data = {
- .owner = THIS_MODULE,
.get_brightness = appledisplay_bl_get_brightness,
.update_status = appledisplay_bl_update_status,
.max_brightness = 0xFF