Commit 5a5e78cd authored by Caesar Wang's avatar Caesar Wang Committed by Zhang Rui

thermal: add the note for set_trip_temp

Fixes commit 60f9ce3ada53
("thermal: of-thermal: allow setting trip_temp on hardware")
Signed-off-by: default avatarCaesar 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: default avatarZhang Rui <rui.zhang@intel.com>
parent f840ab18
...@@ -335,6 +335,8 @@ struct thermal_genl_event { ...@@ -335,6 +335,8 @@ struct thermal_genl_event {
* @get_trend: a pointer to a function that reads the sensor temperature trend. * @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 * @set_emul_temp: a pointer to a function that sets sensor emulated
* temperature. * temperature.
* @set_trip_temp: a pointer to a function that sets the trip temperature on
* hardware.
*/ */
struct thermal_zone_of_device_ops { struct thermal_zone_of_device_ops {
int (*get_temp)(void *, int *); int (*get_temp)(void *, int *);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment