diff options
Diffstat (limited to 'drivers/acpi/thermal.c')
-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); |