diff options
author | Richard Purdie <rpurdie@rpsys.net> | 2007-02-08 00:06:32 +0000 |
---|---|---|
committer | Richard Purdie <rpurdie@rpsys.net> | 2007-02-20 08:37:40 +0000 |
commit | dfcba200679dc3f62212154b65b40b835ce69ab7 (patch) | |
tree | 59aef9bbcf713b4e515e2df75c5d1ead2711e80f /include | |
parent | 2fd5a15489dd2e58009ffd4ecbadb36a40f67d2b (diff) | |
download | linux-dfcba200679dc3f62212154b65b40b835ce69ab7.tar.gz linux-dfcba200679dc3f62212154b65b40b835ce69ab7.tar.bz2 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 'include')
-rw-r--r-- | include/linux/backlight.h | 3 | ||||
-rw-r--r-- | include/linux/lcd.h | 2 |
2 files changed, 0 insertions, 5 deletions
diff --git a/include/linux/backlight.h b/include/linux/backlight.h index a5cf1beacb44..287c62d956f2 100644 --- a/include/linux/backlight.h +++ b/include/linux/backlight.h @@ -17,9 +17,6 @@ struct fb_info; /* This structure defines all the properties of a backlight (usually attached to a LCD). */ struct backlight_properties { - /* Owner module */ - struct module *owner; - /* Notify the backlight driver some property has changed */ int (*update_status)(struct backlight_device *); /* Return the current backlight brightness (accounting for power, diff --git a/include/linux/lcd.h b/include/linux/lcd.h index d739b2e7eac2..8a468f168c45 100644 --- a/include/linux/lcd.h +++ b/include/linux/lcd.h @@ -16,8 +16,6 @@ struct fb_info; /* This structure defines all the properties of a LCD flat panel. */ struct lcd_properties { - /* Owner module */ - struct module *owner; /* Get the LCD panel power status (0: full on, 1..3: controller power on, flat panel power off, 4: full off), see FB_BLANK_XXX */ int (*get_power)(struct lcd_device *); |