From: Patrick Mochel Date: Fri, 19 May 2006 20:54:51 +0000 (-0400) Subject: ACPI: power: Remove unneeded acpi_handle from driver. X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=14747204055d4b8fb2f8517beca91985ac617c17;p=linux-beck.git ACPI: power: Remove unneeded acpi_handle from driver. Signed-off-by: Patrick Mochel Signed-off-by: Len Brown --- diff --git a/drivers/acpi/power.c b/drivers/acpi/power.c index 214428948cc1..5d3447f4582c 100644 --- a/drivers/acpi/power.c +++ b/drivers/acpi/power.c @@ -70,7 +70,6 @@ static struct acpi_driver acpi_power_driver = { }; struct acpi_power_resource { - acpi_handle handle; struct acpi_device * device; acpi_bus_id name; u32 system_level; @@ -541,7 +540,6 @@ static int acpi_power_add(struct acpi_device *device) return -ENOMEM; memset(resource, 0, sizeof(struct acpi_power_resource)); - resource->handle = device->handle; resource->device = device; strcpy(resource->name, device->pnp.bus_id); strcpy(acpi_device_name(device), ACPI_POWER_DEVICE_NAME);