diff options
author | Patrick Mochel <mochel@linux.intel.com> | 2006-05-19 22:54:50 +0200 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2006-06-30 08:50:47 +0200 |
commit | 6c689537726ec665246d2f60c48475be2efac2d0 (patch) | |
tree | f5ae781f80fa6962aeea53a38076c6fe848a5ee6 /drivers/acpi | |
parent | ACPI: battery: Remove unneeded acpi_handle from driver. (diff) | |
download | linux-6c689537726ec665246d2f60c48475be2efac2d0.tar.xz linux-6c689537726ec665246d2f60c48475be2efac2d0.zip |
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 = { }; struct acpi_button { - acpi_handle handle; struct acpi_device *device; /* Fixed button kludge */ u8 type; unsigned long pushed; @@ -303,7 +302,6 @@ static int acpi_button_add(struct acpi_device *device) memset(button, 0, sizeof(struct acpi_button)); button->device = device; - button->handle = device->handle; acpi_driver_data(device) = button; /* |