thermal: add new get_crit_temp callback
authorZhang, Rui <rui.zhang@intel.com>
Thu, 10 Apr 2008 08:13:10 +0000 (16:13 +0800)
committerLen Brown <len.brown@intel.com>
Tue, 29 Apr 2008 06:45:49 +0000 (02:45 -0400)
commit9ec732ff80b7e8a9096666f78ae584d3b393bc84
treefae3a8b26c555521ac26992b8c3d897b07921cd5
parent63c4ec905d63834a97ec7dbbf0a2ec89ef5872be
thermal: add new get_crit_temp callback

Add a new callback so that the generic thermal can get
the critical trip point info of a thermal zone,
which is needed for building the tempX_crit hwmon sysfs attribute.

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>
drivers/acpi/thermal.c
include/linux/thermal.h