Skip to content

thermal/cpu_cooling: Minor cleanups

Viresh Kumar linux-pm lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6thermal/cpu_cooling: No need to initialize max_freq to 0drivers/thermal/cpu_cooling.c+1 -10 replies
2/6thermal/cpu_cooling: quit early after updating policydrivers/thermal/cpu_cooling.c+1 -00 replies
3/6thermal/cpu_cooling: convert 'switch' block to 'if' block in notifierdrivers/thermal/cpu_cooling.c+10 -160 replies
4/6thermal/cpu_cooling: rename cpufreq_val as clipped_freqdrivers/thermal/cpu_cooling.c+5 -50 replies
5/6thermal/cpu_cooling: rename max_freq as clipped_freq in notifierdrivers/thermal/cpu_cooling.c+4 -40 replies
6/6thermal/cpu_cooling: update policy limits if clipped_freq < policy->maxdrivers/thermal/cpu_cooling.c+12 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/6] thermal/cpu_cooling: Minor cleanups

Eduardo,

Radivoje and Punit asked me to look into a patch Radivoje has posted recently and that got me to fix few things. It doesn't do anything related to what Radivoje had in his patch though.

Viresh Kumar (6):
thermal/cpu_cooling: No need to initialize max_freq to 0 thermal/cpu_cooling: quit early after updating policy thermal/cpu_cooling: convert 'switch' block to 'if' block in notifier thermal/cpu_cooling: rename cpufreq_val as clipped_freq thermal/cpu_cooling: rename max_freq as clipped_freq in notifier thermal/cpu_cooling: update policy limits if clipped_freq <

    policy->max
 drivers/thermal/cpu_cooling.c | 46 ++++++++++++++++++++++++-------------------
 1 file changed, 26 insertions(+), 20 deletions(-)
Signature · 1 line
2.4.0