summaryrefslogtreecommitdiffstats
path: root/drivers/acpi/button.c
diff options
context:
space:
mode:
authorPatrick Mochel <mochel@linux.intel.com>2006-05-19 16:54:50 -0400
committerLen Brown <len.brown@intel.com>2006-06-30 02:50:47 -0400
commit6c689537726ec665246d2f60c48475be2efac2d0 (patch)
treef5ae781f80fa6962aeea53a38076c6fe848a5ee6 /drivers/acpi/button.c
parent39cb61e26771891f843cb433ee6febd9159bce73 (diff)
downloadop-kernel-dev-6c689537726ec665246d2f60c48475be2efac2d0.zip
op-kernel-dev-6c689537726ec665246d2f60c48475be2efac2d0.tar.gz
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/button.c')
-rw-r--r--drivers/acpi/button.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/acpi/button.c b/drivers/acpi/button.c
index eefb9e4..fd1ba05 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;
/*
OpenPOWER on IntegriCloud