diff options
author | Richard Purdie <rpurdie@rpsys.net> | 2007-02-07 19:06:32 -0500 |
---|---|---|
committer | Richard Purdie <rpurdie@rpsys.net> | 2007-02-20 03:37:40 -0500 |
commit | dfcba200679dc3f62212154b65b40b835ce69ab7 (patch) | |
tree | 59aef9bbcf713b4e515e2df75c5d1ead2711e80f /drivers/acpi | |
parent | 2fd5a15489dd2e58009ffd4ecbadb36a40f67d2b (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/acpi')
-rw-r--r-- | drivers/acpi/asus_acpi.c | 1 | ||||
-rw-r--r-- | drivers/acpi/ibm_acpi.c | 1 | ||||
-rw-r--r-- | drivers/acpi/toshiba_acpi.c | 1 | ||||
-rw-r--r-- | drivers/acpi/video.c | 1 |
4 files changed, 0 insertions, 4 deletions
diff --git a/drivers/acpi/asus_acpi.c b/drivers/acpi/asus_acpi.c index 772299fb5f9d..906c54f9ba50 100644 --- a/drivers/acpi/asus_acpi.c +++ b/drivers/acpi/asus_acpi.c | |||
@@ -1353,7 +1353,6 @@ static int asus_hotk_remove(struct acpi_device *device, int type) | |||
1353 | } | 1353 | } |
1354 | 1354 | ||
1355 | static struct backlight_properties asus_backlight_data = { | 1355 | static struct backlight_properties asus_backlight_data = { |
1356 | .owner = THIS_MODULE, | ||
1357 | .get_brightness = read_brightness, | 1356 | .get_brightness = read_brightness, |
1358 | .update_status = set_brightness_status, | 1357 | .update_status = set_brightness_status, |
1359 | .max_brightness = 15, | 1358 | .max_brightness = 15, |
diff --git a/drivers/acpi/ibm_acpi.c b/drivers/acpi/ibm_acpi.c index 1a0ed3dc409c..accf4f7da889 100644 --- a/drivers/acpi/ibm_acpi.c +++ b/drivers/acpi/ibm_acpi.c | |||
@@ -1705,7 +1705,6 @@ static int brightness_update_status(struct backlight_device *bd) | |||
1705 | } | 1705 | } |
1706 | 1706 | ||
1707 | static struct backlight_properties ibm_backlight_data = { | 1707 | static struct backlight_properties ibm_backlight_data = { |
1708 | .owner = THIS_MODULE, | ||
1709 | .get_brightness = brightness_get, | 1708 | .get_brightness = brightness_get, |
1710 | .update_status = brightness_update_status, | 1709 | .update_status = brightness_update_status, |
1711 | .max_brightness = 7, | 1710 | .max_brightness = 7, |
diff --git a/drivers/acpi/toshiba_acpi.c b/drivers/acpi/toshiba_acpi.c index faf8a5232d8e..efc3669a84e8 100644 --- a/drivers/acpi/toshiba_acpi.c +++ b/drivers/acpi/toshiba_acpi.c | |||
@@ -534,7 +534,6 @@ static acpi_status __exit remove_device(void) | |||
534 | } | 534 | } |
535 | 535 | ||
536 | static struct backlight_properties toshiba_backlight_data = { | 536 | static struct backlight_properties toshiba_backlight_data = { |
537 | .owner = THIS_MODULE, | ||
538 | .get_brightness = get_lcd, | 537 | .get_brightness = get_lcd, |
539 | .update_status = set_lcd_status, | 538 | .update_status = set_lcd_status, |
540 | .max_brightness = HCI_LCD_BRIGHTNESS_LEVELS - 1, | 539 | .max_brightness = HCI_LCD_BRIGHTNESS_LEVELS - 1, |
diff --git a/drivers/acpi/video.c b/drivers/acpi/video.c index bf525cca3b63..75e422bd926a 100644 --- a/drivers/acpi/video.c +++ b/drivers/acpi/video.c | |||
@@ -621,7 +621,6 @@ static void acpi_video_device_find_cap(struct acpi_video_device *device) | |||
621 | kfree(name); | 621 | kfree(name); |
622 | return; | 622 | return; |
623 | } | 623 | } |
624 | acpi_video_data->owner = THIS_MODULE; | ||
625 | acpi_video_data->get_brightness = | 624 | acpi_video_data->get_brightness = |
626 | acpi_video_get_brightness; | 625 | acpi_video_get_brightness; |
627 | acpi_video_data->update_status = | 626 | acpi_video_data->update_status = |