]> git.karo-electronics.de Git - linux-beck.git/commitdiff
ACPI: thermal: Remove unneeded acpi_handle from driver.
authorPatrick Mochel <mochel@linux.intel.com>
Fri, 19 May 2006 20:54:51 +0000 (16:54 -0400)
committerLen Brown <len.brown@intel.com>
Fri, 30 Jun 2006 06:51:38 +0000 (02:51 -0400)
Signed-off-by: Patrick Mochel <mochel@linux.intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/acpi/thermal.c

index 56358e149b2bd1b59159ad8cfa5c4a561d31e479..503c0b99db122814e9c30767e5358ab226d9cdac 100644 (file)
@@ -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);