summaryrefslogtreecommitdiffstats
path: root/drivers/video/riva
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@rpsys.net>2007-02-08 00:06:32 +0000
committerRichard Purdie <rpurdie@rpsys.net>2007-02-20 08:37:40 +0000
commitdfcba200679dc3f62212154b65b40b835ce69ab7 (patch)
tree59aef9bbcf713b4e515e2df75c5d1ead2711e80f /drivers/video/riva
parent2fd5a15489dd2e58009ffd4ecbadb36a40f67d2b (diff)
downloadop-kernel-dev-dfcba200679dc3f62212154b65b40b835ce69ab7.zip
op-kernel-dev-dfcba200679dc3f62212154b65b40b835ce69ab7.tar.gz
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/riva')
-rw-r--r--drivers/video/riva/fbdev.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/video/riva/fbdev.c b/drivers/video/riva/fbdev.c
index f2e9b74..fd82571 100644
--- a/drivers/video/riva/fbdev.c
+++ b/drivers/video/riva/fbdev.c
@@ -347,7 +347,6 @@ static int riva_bl_get_brightness(struct backlight_device *bd)
}
static struct backlight_properties riva_bl_data = {
- .owner = THIS_MODULE,
.get_brightness = riva_bl_get_brightness,
.update_status = riva_bl_update_status,
.max_brightness = (FB_BACKLIGHT_LEVELS - 1),
OpenPOWER on IntegriCloud