aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/acpi/thermal.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/thermal.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/thermal.c')
-rw-r--r--drivers/acpi/thermal.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/acpi/thermal.c b/drivers/acpi/thermal.c
index 6b959976b7a4..e8c143caf0fd 100644
--- a/drivers/acpi/thermal.c
+++ b/drivers/acpi/thermal.c
@@ -371,7 +371,7 @@ static int acpi_thermal_trips_update(struct acpi_thermal *tz, int flag)
371 /* 371 /*
372 * Treat freezing temperatures as invalid as well; some 372 * Treat freezing temperatures as invalid as well; some
373 * BIOSes return really low values and cause reboots at startup. 373 * BIOSes return really low values and cause reboots at startup.
374 * Below zero (Celcius) values clearly aren't right for sure.. 374 * Below zero (Celsius) values clearly aren't right for sure..
375 * ... so lets discard those as invalid. 375 * ... so lets discard those as invalid.
376 */ 376 */
377 if (ACPI_FAILURE(status) || 377 if (ACPI_FAILURE(status) ||
@@ -1192,7 +1192,6 @@ static int acpi_thermal_add_fs(struct acpi_device *device)
1192 acpi_thermal_dir); 1192 acpi_thermal_dir);
1193 if (!acpi_device_dir(device)) 1193 if (!acpi_device_dir(device))
1194 return -ENODEV; 1194 return -ENODEV;
1195 acpi_device_dir(device)->owner = THIS_MODULE;
1196 } 1195 }
1197 1196
1198 /* 'state' [R] */ 1197 /* 'state' [R] */
@@ -1534,7 +1533,6 @@ static int __init acpi_thermal_init(void)
1534 acpi_thermal_dir = proc_mkdir(ACPI_THERMAL_CLASS, acpi_root_dir); 1533 acpi_thermal_dir = proc_mkdir(ACPI_THERMAL_CLASS, acpi_root_dir);
1535 if (!acpi_thermal_dir) 1534 if (!acpi_thermal_dir)
1536 return -ENODEV; 1535 return -ENODEV;
1537 acpi_thermal_dir->owner = THIS_MODULE;
1538 1536
1539 result = acpi_bus_register_driver(&acpi_thermal_driver); 1537 result = acpi_bus_register_driver(&acpi_thermal_driver);
1540 if (result < 0) { 1538 if (result < 0) {