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:38 -0400 |
commit | 8a4444bf5a3fd890441e6cbd5022a3c24edbe69a (patch) | |
tree | 986fbe350d0ee95f14fc0feda25df0b3d32a9b98 /drivers/acpi | |
parent | 14747204055d4b8fb2f8517beca91985ac617c17 (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')
-rw-r--r-- | drivers/acpi/thermal.c | 2 |
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 { | |||
162 | }; | 162 | }; |
163 | 163 | ||
164 | struct acpi_thermal { | 164 | struct acpi_thermal { |
165 | acpi_handle handle; | ||
166 | struct acpi_device * device; | 165 | struct acpi_device * device; |
167 | acpi_bus_id name; | 166 | acpi_bus_id name; |
168 | unsigned long temperature; | 167 | unsigned long temperature; |
@@ -1277,7 +1276,6 @@ static int acpi_thermal_add(struct acpi_device *device) | |||
1277 | return -ENOMEM; | 1276 | return -ENOMEM; |
1278 | memset(tz, 0, sizeof(struct acpi_thermal)); | 1277 | memset(tz, 0, sizeof(struct acpi_thermal)); |
1279 | 1278 | ||
1280 | tz->handle = device->handle; | ||
1281 | tz->device = device; | 1279 | tz->device = device; |
1282 | strcpy(tz->name, device->pnp.bus_id); | 1280 | strcpy(tz->name, device->pnp.bus_id); |
1283 | strcpy(acpi_device_name(device), ACPI_THERMAL_DEVICE_NAME); | 1281 | strcpy(acpi_device_name(device), ACPI_THERMAL_DEVICE_NAME); |