diff options
author | Zhang Rui <rui.zhang@intel.com> | 2008-04-22 08:50:09 +0800 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2008-04-29 02:49:47 -0400 |
commit | e9ae71078b2c8657c0e8de808b76b76049806906 (patch) | |
tree | 32ef403038aa5e4c604b1025845cdece3b4e2689 /drivers/acpi | |
parent | e68b16abd91dca91e35ea47537ef8a1b7ad72841 (diff) | |
download | op-kernel-dev-e9ae71078b2c8657c0e8de808b76b76049806906.zip op-kernel-dev-e9ae71078b2c8657c0e8de808b76b76049806906.tar.gz |
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')
-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 ec707ed..5e9641c 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; |