summaryrefslogtreecommitdiffstats
path: root/include/linux/thermal.h
diff options
context:
space:
mode:
authorCaesar Wang <wxt@rock-chips.com>2016-05-18 23:01:39 +0800
committerZhang Rui <rui.zhang@intel.com>2016-06-01 22:25:48 +0800
commit5a5e78cd706ce0577ed6356634a34552c866cc10 (patch)
tree59b3913f969d448853a716be9d048c66f55a1fda /include/linux/thermal.h
parentf840ab18bdf2e415dac21d09fbbbd2873111bd48 (diff)
downloadtalos-obmc-linux-5a5e78cd706ce0577ed6356634a34552c866cc10.tar.gz
talos-obmc-linux-5a5e78cd706ce0577ed6356634a34552c866cc10.zip
thermal: add the note for set_trip_temp
Fixes commit 60f9ce3ada53 ("thermal: of-thermal: allow setting trip_temp on hardware") Signed-off-by: Caesar Wang <wxt@rock-chips.com> Cc: Zhang Rui <rui.zhang@intel.com> Cc: Eduardo Valentin <edubezval@gmail.com> Cc: linux-pm@vger.kernel.org Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Diffstat (limited to 'include/linux/thermal.h')
-rw-r--r--include/linux/thermal.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/thermal.h b/include/linux/thermal.h
index e45abe7db9a6..ee517bef0db0 100644
--- a/include/linux/thermal.h
+++ b/include/linux/thermal.h
@@ -335,6 +335,8 @@ struct thermal_genl_event {
* @get_trend: a pointer to a function that reads the sensor temperature trend.
* @set_emul_temp: a pointer to a function that sets sensor emulated
* temperature.
+ * @set_trip_temp: a pointer to a function that sets the trip temperature on
+ * hardware.
*/
struct thermal_zone_of_device_ops {
int (*get_temp)(void *, int *);
OpenPOWER on IntegriCloud