diff options
author | Patrick Mochel <mochel@linux.intel.com> | 2006-05-19 16:54:51 -0400 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2006-06-30 02:51:37 -0400 |
commit | 14747204055d4b8fb2f8517beca91985ac617c17 (patch) | |
tree | ed5f613034d2a6af1fbf51e4349b3df8a5c3f0c5 /drivers/acpi | |
parent | 432bfaba7d4e70483fc5af164e020066f4921bff (diff) |
ACPI: power: 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/power.c | 2 |
1 files changed, 0 insertions, 2 deletions
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 = { | |||
70 | }; | 70 | }; |
71 | 71 | ||
72 | struct acpi_power_resource { | 72 | struct acpi_power_resource { |
73 | acpi_handle handle; | ||
74 | struct acpi_device * device; | 73 | struct acpi_device * device; |
75 | acpi_bus_id name; | 74 | acpi_bus_id name; |
76 | u32 system_level; | 75 | u32 system_level; |
@@ -541,7 +540,6 @@ static int acpi_power_add(struct acpi_device *device) | |||
541 | return -ENOMEM; | 540 | return -ENOMEM; |
542 | memset(resource, 0, sizeof(struct acpi_power_resource)); | 541 | memset(resource, 0, sizeof(struct acpi_power_resource)); |
543 | 542 | ||
544 | resource->handle = device->handle; | ||
545 | resource->device = device; | 543 | resource->device = device; |
546 | strcpy(resource->name, device->pnp.bus_id); | 544 | strcpy(resource->name, device->pnp.bus_id); |
547 | strcpy(acpi_device_name(device), ACPI_POWER_DEVICE_NAME); | 545 | strcpy(acpi_device_name(device), ACPI_POWER_DEVICE_NAME); |