aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
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 /include/linux
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 'include/linux')
-rw-r--r--include/linux/backlight.h3
-rw-r--r--include/linux/lcd.h2
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;
17/* This structure defines all the properties of a backlight 17/* This structure defines all the properties of a backlight
18 (usually attached to a LCD). */ 18 (usually attached to a LCD). */
19struct backlight_properties { 19struct backlight_properties {
20 /* Owner module */
21 struct module *owner;
22
23 /* Notify the backlight driver some property has changed */ 20 /* Notify the backlight driver some property has changed */
24 int (*update_status)(struct backlight_device *); 21 int (*update_status)(struct backlight_device *);
25 /* Return the current backlight brightness (accounting for power, 22 /* 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;
16 16
17/* This structure defines all the properties of a LCD flat panel. */ 17/* This structure defines all the properties of a LCD flat panel. */
18struct lcd_properties { 18struct lcd_properties {
19 /* Owner module */
20 struct module *owner;
21 /* Get the LCD panel power status (0: full on, 1..3: controller 19 /* Get the LCD panel power status (0: full on, 1..3: controller
22 power on, flat panel power off, 4: full off), see FB_BLANK_XXX */ 20 power on, flat panel power off, 4: full off), see FB_BLANK_XXX */
23 int (*get_power)(struct lcd_device *); 21 int (*get_power)(struct lcd_device *);