summaryrefslogtreecommitdiffstats
path: root/drivers/acpi/fan.c
diff options
context:
space:
mode:
authorLen Brown <len.brown@intel.com>2008-10-23 05:28:38 +0200
committerLen Brown <len.brown@intel.com>2008-10-23 05:28:38 +0200
commit5f50ef453dcb05115fc98f244b8f10bfacd4b8b7 (patch)
tree1999a7e6d242198d48f0089c7995a50f339fa3e4 /drivers/acpi/fan.c
parentMerge branch 'i7300_idle' into test (diff)
parentasus-laptop: Fix the led behavior with value > 1 (diff)
downloadlinux-5f50ef453dcb05115fc98f244b8f10bfacd4b8b7.tar.xz
linux-5f50ef453dcb05115fc98f244b8f10bfacd4b8b7.zip
Merge branch 'misc' into test
Diffstat (limited to 'drivers/acpi/fan.c')
-rw-r--r--drivers/acpi/fan.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/acpi/fan.c b/drivers/acpi/fan.c
index dfc0486ffaff..60d54d1f6b19 100644
--- a/drivers/acpi/fan.c
+++ b/drivers/acpi/fan.c
@@ -265,7 +265,7 @@ static int acpi_fan_add(struct acpi_device *device)
dev_info(&device->dev, "registered as cooling_device%d\n", cdev->id);
- acpi_driver_data(device) = cdev;
+ device->driver_data = cdev;
result = sysfs_create_link(&device->dev.kobj,
&cdev->device.kobj,
"thermal_cooling");