ACPI: button: Remove unneeded acpi_handle from driver.
authorPatrick Mochel <mochel@linux.intel.com>
Fri, 19 May 2006 20:54:50 +0000 (16:54 -0400)
committerLen Brown <len.brown@intel.com>
Fri, 30 Jun 2006 06:50:47 +0000 (02:50 -0400)
Signed-off-by: Patrick Mochel <mochel@linux.intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/acpi/button.c

index eefb9e4df5806face2ac0cb6bf1077f54a483118..fd1ba05eab688fb409d259d97848b88cec6c325c 100644 (file)
@@ -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;
 
        /*