aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/acpi/fan.c
diff options
context:
space:
mode:
authorLen Brown <len.brown@intel.com>2009-04-05 02:14:15 -0400
committerLen Brown <len.brown@intel.com>2009-04-05 02:14:15 -0400
commit478c6a43fcbc6c11609f8cee7c7b57223907754f (patch)
treea7f7952099da60d33032aed6de9c0c56c9f8779e /drivers/acpi/fan.c
parent8a3f257c704e02aee9869decd069a806b45be3f1 (diff)
parent6bb597507f9839b13498781e481f5458aea33620 (diff)
Merge branch 'linus' into release
Conflicts: arch/x86/kernel/cpu/cpufreq/longhaul.c 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 ae41cf3cf4e5..53698ea08371 100644
--- a/drivers/acpi/fan.c
+++ b/drivers/acpi/fan.c
@@ -197,7 +197,6 @@ static int acpi_fan_add_fs(struct acpi_device *device)
197 acpi_fan_dir); 197 acpi_fan_dir);
198 if (!acpi_device_dir(device)) 198 if (!acpi_device_dir(device))
199 return -ENODEV; 199 return -ENODEV;
200 acpi_device_dir(device)->owner = THIS_MODULE;
201 } 200 }
202 201
203 /* 'status' [R/W] */ 202 /* 'status' [R/W] */
@@ -351,7 +350,6 @@ static int __init acpi_fan_init(void)
351 acpi_fan_dir = proc_mkdir(ACPI_FAN_CLASS, acpi_root_dir); 350 acpi_fan_dir = proc_mkdir(ACPI_FAN_CLASS, acpi_root_dir);
352 if (!acpi_fan_dir) 351 if (!acpi_fan_dir)
353 return -ENODEV; 352 return -ENODEV;
354 acpi_fan_dir->owner = THIS_MODULE;
355#endif 353#endif
356 354
357 result = acpi_bus_register_driver(&acpi_fan_driver); 355 result = acpi_bus_register_driver(&acpi_fan_driver);