Skip to content

Commit cead266

Browse files
zhang-ruirafaeljw
authored andcommitted
thermal: gov_step_wise: Delete obsolete comment
Commit 4102c40 ("thermal/core: Remove DROP_FULL and RAISE_FULL") removes support for THERMAL_TREND_RAISE_FULL/DROP_FULL but leaves the comment unchanged. Delete the obsolte comment about THERMAL_TREND_RAISE_FULL/DROP_FULL. Fixes: 4102c40 ("thermal/core: Remove DROP_FULL and RAISE_FULL") Signed-off-by: Zhang Rui <rui.zhang@intel.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
1 parent 5e0ca0b commit cead266

1 file changed

Lines changed: 0 additions & 8 deletions

File tree

drivers/thermal/gov_step_wise.c

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -21,19 +21,11 @@
2121
* a. if the trend is THERMAL_TREND_RAISING, use higher cooling
2222
* state for this trip point
2323
* b. if the trend is THERMAL_TREND_DROPPING, do nothing
24-
* c. if the trend is THERMAL_TREND_RAISE_FULL, use upper limit
25-
* for this trip point
26-
* d. if the trend is THERMAL_TREND_DROP_FULL, use lower limit
27-
* for this trip point
2824
* If the temperature is lower than a trip point,
2925
* a. if the trend is THERMAL_TREND_RAISING, do nothing
3026
* b. if the trend is THERMAL_TREND_DROPPING, use lower cooling
3127
* state for this trip point, if the cooling state already
3228
* equals lower limit, deactivate the thermal instance
33-
* c. if the trend is THERMAL_TREND_RAISE_FULL, do nothing
34-
* d. if the trend is THERMAL_TREND_DROP_FULL, use lower limit,
35-
* if the cooling state already equals lower limit,
36-
* deactivate the thermal instance
3729
*/
3830
static unsigned long get_target_state(struct thermal_instance *instance,
3931
enum thermal_trend trend, bool throttle)

0 commit comments

Comments
 (0)