aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/acpi/fan.c
diff options
context:
space:
mode:
authorPatrick Mochel <mochel@linux.intel.com>2006-05-19 16:54:50 -0400
committerLen Brown <len.brown@intel.com>2006-06-30 02:50:48 -0400
commit579c896cc91434e4feb938f780eba580c93fa0da (patch)
tree0516c82125408409923e18b7b35327fa06aeb2f1 /drivers/acpi/fan.c
parent6c689537726ec665246d2f60c48475be2efac2d0 (diff)
ACPI: fan: 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/fan.c')
-rw-r--r--drivers/acpi/fan.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/acpi/fan.c b/drivers/acpi/fan.c
index a56acdb37296..daed2460924d 100644
--- a/drivers/acpi/fan.c
+++ b/drivers/acpi/fan.c
@@ -64,7 +64,6 @@ static struct acpi_driver acpi_fan_driver = {
64}; 64};
65 65
66struct acpi_fan { 66struct acpi_fan {
67 acpi_handle handle;
68 struct acpi_device * device; 67 struct acpi_device * device;
69}; 68};
70 69
@@ -192,7 +191,6 @@ static int acpi_fan_add(struct acpi_device *device)
192 return -ENOMEM; 191 return -ENOMEM;
193 memset(fan, 0, sizeof(struct acpi_fan)); 192 memset(fan, 0, sizeof(struct acpi_fan));
194 193
195 fan->handle = device->handle;
196 fan->device = device; 194 fan->device = device;
197 strcpy(acpi_device_name(device), "Fan"); 195 strcpy(acpi_device_name(device), "Fan");
198 strcpy(acpi_device_class(device), ACPI_FAN_CLASS); 196 strcpy(acpi_device_class(device), ACPI_FAN_CLASS);