diff options
author | Zhang Rui <rui.zhang@intel.com> | 2008-04-22 04:50:09 +0400 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2008-04-29 10:49:47 +0400 |
commit | e9ae71078b2c8657c0e8de808b76b76049806906 (patch) | |
tree | 32ef403038aa5e4c604b1025845cdece3b4e2689 /drivers | |
parent | e68b16abd91dca91e35ea47537ef8a1b7ad72841 (diff) | |
download | linux-e9ae71078b2c8657c0e8de808b76b76049806906.tar.xz |
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')
-rw-r--r-- | drivers/acpi/thermal.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/acpi/thermal.c b/drivers/acpi/thermal.c index ec707ed1a70f..5e9641c93fcd 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) for (i = 0; i < ACPI_THERMAL_MAX_ACTIVE && tz->trips.active[i].flags.valid; i++, trips++); - tz->thermal_zone = thermal_zone_device_register("ACPI thermal zone", + tz->thermal_zone = thermal_zone_device_register("acpitz", trips, tz, &acpi_thermal_zone_ops); if (IS_ERR(tz->thermal_zone)) return -ENODEV; |