aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video/backlight
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/video/backlight
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/video/backlight')
-rw-r--r--drivers/video/backlight/corgi_bl.c1
-rw-r--r--drivers/video/backlight/hp680_bl.c1
-rw-r--r--drivers/video/backlight/locomolcd.c1
-rw-r--r--drivers/video/backlight/progear_bl.c1
4 files changed, 0 insertions, 4 deletions
diff --git a/drivers/video/backlight/corgi_bl.c b/drivers/video/backlight/corgi_bl.c
index fde1d9518123..4ca24e261578 100644
--- a/drivers/video/backlight/corgi_bl.c
+++ b/drivers/video/backlight/corgi_bl.c
@@ -106,7 +106,6 @@ EXPORT_SYMBOL(corgibl_limit_intensity);
106 106
107 107
108static struct backlight_properties corgibl_data = { 108static struct backlight_properties corgibl_data = {
109 .owner = THIS_MODULE,
110 .get_brightness = corgibl_get_intensity, 109 .get_brightness = corgibl_get_intensity,
111 .update_status = corgibl_set_intensity, 110 .update_status = corgibl_set_intensity,
112}; 111};
diff --git a/drivers/video/backlight/hp680_bl.c b/drivers/video/backlight/hp680_bl.c
index c07d8207fb54..074625a46e3d 100644
--- a/drivers/video/backlight/hp680_bl.c
+++ b/drivers/video/backlight/hp680_bl.c
@@ -96,7 +96,6 @@ static int hp680bl_get_intensity(struct backlight_device *bd)
96} 96}
97 97
98static struct backlight_properties hp680bl_data = { 98static struct backlight_properties hp680bl_data = {
99 .owner = THIS_MODULE,
100 .max_brightness = HP680_MAX_INTENSITY, 99 .max_brightness = HP680_MAX_INTENSITY,
101 .get_brightness = hp680bl_get_intensity, 100 .get_brightness = hp680bl_get_intensity,
102 .update_status = hp680bl_set_intensity, 101 .update_status = hp680bl_set_intensity,
diff --git a/drivers/video/backlight/locomolcd.c b/drivers/video/backlight/locomolcd.c
index fc812d96c31d..3c5abbf0d042 100644
--- a/drivers/video/backlight/locomolcd.c
+++ b/drivers/video/backlight/locomolcd.c
@@ -142,7 +142,6 @@ static int locomolcd_get_intensity(struct backlight_device *bd)
142} 142}
143 143
144static struct backlight_properties locomobl_data = { 144static struct backlight_properties locomobl_data = {
145 .owner = THIS_MODULE,
146 .get_brightness = locomolcd_get_intensity, 145 .get_brightness = locomolcd_get_intensity,
147 .update_status = locomolcd_set_intensity, 146 .update_status = locomolcd_set_intensity,
148 .max_brightness = 4, 147 .max_brightness = 4,
diff --git a/drivers/video/backlight/progear_bl.c b/drivers/video/backlight/progear_bl.c
index 13d831da8d96..42d6acd96c1a 100644
--- a/drivers/video/backlight/progear_bl.c
+++ b/drivers/video/backlight/progear_bl.c
@@ -56,7 +56,6 @@ static int progearbl_get_intensity(struct backlight_device *bd)
56} 56}
57 57
58static struct backlight_properties progearbl_data = { 58static struct backlight_properties progearbl_data = {
59 .owner = THIS_MODULE,
60 .get_brightness = progearbl_get_intensity, 59 .get_brightness = progearbl_get_intensity,
61 .update_status = progearbl_set_intensity, 60 .update_status = progearbl_set_intensity,
62}; 61};