aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/acpi/thermal.c
diff options
context:
space:
mode:
authorZhang Rui <rui.zhang@intel.com>2008-04-21 20:50:09 -0400
committerLen Brown <len.brown@intel.com>2008-04-29 02:49:47 -0400
commite9ae71078b2c8657c0e8de808b76b76049806906 (patch)
tree32ef403038aa5e4c604b1025845cdece3b4e2689 /drivers/acpi/thermal.c
parente68b16abd91dca91e35ea47537ef8a1b7ad72841 (diff)
thermal: update the documentation
Update the documentation for the thermal driver hwmon sys I/F. Change the ACPI thermal zone type to be consistent with hwmon. Signed-off-by: Zhang Rui <rui.zhang@intel.com> Acked-by: Jean Delvare <khali@linux-fr.org> Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/acpi/thermal.c')
-rw-r--r--drivers/acpi/thermal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/acpi/thermal.c b/drivers/acpi/thermal.c
index ec707ed1a70..5e9641c93fc 100644
--- a/drivers/acpi/thermal.c
+++ b/drivers/acpi/thermal.c
@@ -1136,7 +1136,7 @@ static int acpi_thermal_register_thermal_zone(struct acpi_thermal *tz)
1136 1136
1137 for (i = 0; i < ACPI_THERMAL_MAX_ACTIVE && 1137 for (i = 0; i < ACPI_THERMAL_MAX_ACTIVE &&
1138 tz->trips.active[i].flags.valid; i++, trips++); 1138 tz->trips.active[i].flags.valid; i++, trips++);
1139 tz->thermal_zone = thermal_zone_device_register("ACPI thermal zone", 1139 tz->thermal_zone = thermal_zone_device_register("acpitz",
1140 trips, tz, &acpi_thermal_zone_ops); 1140 trips, tz, &acpi_thermal_zone_ops);
1141 if (IS_ERR(tz->thermal_zone)) 1141 if (IS_ERR(tz->thermal_zone))
1142 return -ENODEV; 1142 return -ENODEV;