summaryrefslogtreecommitdiff
path: root/drivers/acpi/thermal.c
diff options
context:
space:
mode:
authorPatrick Mochel <mochel@linux.intel.com>2006-05-19 16:54:51 -0400
committerLen Brown <len.brown@intel.com>2006-06-30 02:51:38 -0400
commit8a4444bf5a3fd890441e6cbd5022a3c24edbe69a (patch)
tree986fbe350d0ee95f14fc0feda25df0b3d32a9b98 /drivers/acpi/thermal.c
parent14747204055d4b8fb2f8517beca91985ac617c17 (diff)
ACPI: thermal: 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/thermal.c')
-rw-r--r--drivers/acpi/thermal.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/acpi/thermal.c b/drivers/acpi/thermal.c
index 56358e149b2b..503c0b99db12 100644
--- a/drivers/acpi/thermal.c
+++ b/drivers/acpi/thermal.c
@@ -162,7 +162,6 @@ struct acpi_thermal_flags {
};
struct acpi_thermal {
- acpi_handle handle;
struct acpi_device * device;
acpi_bus_id name;
unsigned long temperature;
@@ -1277,7 +1276,6 @@ static int acpi_thermal_add(struct acpi_device *device)
return -ENOMEM;
memset(tz, 0, sizeof(struct acpi_thermal));
- tz->handle = device->handle;
tz->device = device;
strcpy(tz->name, device->pnp.bus_id);
strcpy(acpi_device_name(device), ACPI_THERMAL_DEVICE_NAME);