Просмотр исходного кода

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>
Patrick Mochel 19 лет назад
Родитель
Сommit
8a4444bf5a
1 измененных файлов с 0 добавлено и 2 удалено
  1. 0 2
      drivers/acpi/thermal.c

+ 0 - 2
drivers/acpi/thermal.c

@@ -162,7 +162,6 @@ struct acpi_thermal_flags {
 };
 };
 
 
 struct acpi_thermal {
 struct acpi_thermal {
-	acpi_handle handle;
 	struct acpi_device * device;
 	struct acpi_device * device;
 	acpi_bus_id name;
 	acpi_bus_id name;
 	unsigned long temperature;
 	unsigned long temperature;
@@ -1277,7 +1276,6 @@ static int acpi_thermal_add(struct acpi_device *device)
 		return -ENOMEM;
 		return -ENOMEM;
 	memset(tz, 0, sizeof(struct acpi_thermal));
 	memset(tz, 0, sizeof(struct acpi_thermal));
 
 
-	tz->handle = device->handle;
 	tz->device = device;
 	tz->device = device;
 	strcpy(tz->name, device->pnp.bus_id);
 	strcpy(tz->name, device->pnp.bus_id);
 	strcpy(acpi_device_name(device), ACPI_THERMAL_DEVICE_NAME);
 	strcpy(acpi_device_name(device), ACPI_THERMAL_DEVICE_NAME);