Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1403065 > unrolled thread

[PATCH] thermal: add the note for set_trip_temp

Started byCaesar Wang <wxt@rock-chips.com>
First post2016-05-18 17:10 +0200
Last post2016-05-18 17:10 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel


Contents

  [PATCH] thermal: add the note for set_trip_temp Caesar Wang <wxt@rock-chips.com> - 2016-05-18 17:10 +0200

#1403065 — [PATCH] thermal: add the note for set_trip_temp

FromCaesar Wang <wxt@rock-chips.com>
Date2016-05-18 17:10 +0200
Subject[PATCH] thermal: add the note for set_trip_temp
Message-ID<rAbgL-3KP-29@gated-at.bofh.it>
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

---

 include/linux/thermal.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/include/linux/thermal.h b/include/linux/thermal.h
index e45abe7..ee517be 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 *);
-- 
2.7.4

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web