diff options
author | Caesar Wang <wxt@rock-chips.com> | 2016-05-18 11:01:39 -0400 |
---|---|---|
committer | Zhang Rui <rui.zhang@intel.com> | 2016-06-01 10:25:48 -0400 |
commit | 5a5e78cd706ce0577ed6356634a34552c866cc10 (patch) | |
tree | 59b3913f969d448853a716be9d048c66f55a1fda | |
parent | f840ab18bdf2e415dac21d09fbbbd2873111bd48 (diff) |
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>
-rw-r--r-- | include/linux/thermal.h | 2 |
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 { | |||
335 | * @get_trend: a pointer to a function that reads the sensor temperature trend. | 335 | * @get_trend: a pointer to a function that reads the sensor temperature trend. |
336 | * @set_emul_temp: a pointer to a function that sets sensor emulated | 336 | * @set_emul_temp: a pointer to a function that sets sensor emulated |
337 | * temperature. | 337 | * temperature. |
338 | * @set_trip_temp: a pointer to a function that sets the trip temperature on | ||
339 | * hardware. | ||
338 | */ | 340 | */ |
339 | struct thermal_zone_of_device_ops { | 341 | struct thermal_zone_of_device_ops { |
340 | int (*get_temp)(void *, int *); | 342 | int (*get_temp)(void *, int *); |