]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita3e366d2e9a55f969cca4d2147d45d84e4dc0f43
treefae3a8b26c555521ac26992b8c3d897b07921cd5
parent05af120ddfad5182d1d7d3b2f507a49dd8b9f589
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