diff options
author | Patrick Mochel <mochel@linux.intel.com> | 2006-05-19 16:54:50 -0400 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2006-06-30 02:50:47 -0400 |
commit | 6c689537726ec665246d2f60c48475be2efac2d0 (patch) | |
tree | f5ae781f80fa6962aeea53a38076c6fe848a5ee6 /drivers/acpi | |
parent | 39cb61e26771891f843cb433ee6febd9159bce73 (diff) |
ACPI: button: Remove unneeded acpi_handle from driver.
Signed-off-by: Patrick Mochel <mochel@linux.intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/acpi')
-rw-r--r-- | drivers/acpi/button.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/acpi/button.c b/drivers/acpi/button.c index eefb9e4df580..fd1ba05eab68 100644 --- a/drivers/acpi/button.c +++ b/drivers/acpi/button.c | |||
@@ -82,7 +82,6 @@ static struct acpi_driver acpi_button_driver = { | |||
82 | }; | 82 | }; |
83 | 83 | ||
84 | struct acpi_button { | 84 | struct acpi_button { |
85 | acpi_handle handle; | ||
86 | struct acpi_device *device; /* Fixed button kludge */ | 85 | struct acpi_device *device; /* Fixed button kludge */ |
87 | u8 type; | 86 | u8 type; |
88 | unsigned long pushed; | 87 | unsigned long pushed; |
@@ -303,7 +302,6 @@ static int acpi_button_add(struct acpi_device *device) | |||
303 | memset(button, 0, sizeof(struct acpi_button)); | 302 | memset(button, 0, sizeof(struct acpi_button)); |
304 | 303 | ||
305 | button->device = device; | 304 | button->device = device; |
306 | button->handle = device->handle; | ||
307 | acpi_driver_data(device) = button; | 305 | acpi_driver_data(device) = button; |
308 | 306 | ||
309 | /* | 307 | /* |