From: Patrick Mochel Date: Fri, 19 May 2006 20:54:50 +0000 (-0400) Subject: ACPI: button: Remove unneeded acpi_handle from driver. X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=6c689537726ec665246d2f60c48475be2efac2d0;p=linux-beck.git ACPI: button: Remove unneeded acpi_handle from driver. Signed-off-by: Patrick Mochel Signed-off-by: Len Brown --- 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; /*