Skip to content

cpufreq: cleanups

Viresh Kumar linux-pm lkml 2 versions – Applied

Status from this message: Applied, thanks!

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest5 patches 4 repliesApplied
  2. v16 patches 6 repliesSuperseded

Changes in v2 from the cover letter

- Merged patch 2/6 and 3/6 (now called 2/5).
- Updated commit log of 3/5 as it wasn't clear enough earlier.

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/5cpufreq: Remove the redundant !setpolicy checkdrivers/cpufreq/cpufreq.c+1 -11 reply
2/5cpufreq: Replace few CPUFREQ_CONST_LOOPS checks with has_target()drivers/cpufreq/cpufreq.c+5 -83 replies
3/5cpufreq: Use has_target() instead of !setpolicydrivers/cpufreq/cpufreq.c+3 -31 reply
4/5cpufreq: Reuse cpufreq_update_current_freq() in __cpufreq_get()drivers/cpufreq/cpufreq.c+28 -420 replies
5/5cpufreq: Avoid calling cpufreq_verify_current_freq() from handle_update()drivers/cpufreq/cpufreq.c+16 -100 replies

Reviews trailers per patch

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

Read the v2 thread

Cover letter [PATCH V2 0/5] cpufreq: cleanups

Hi Rafael,

I accumulated these while reworking the freq-constraint series and it would be nice if these can get in before I send the next version of freq-constraint stuff.

These are mostly cleanups and code consolidation for better management of code. Compile and boot tested only.

Thanks.

V1->V2:
- Merged patch 2/6 and 3/6 (now called 2/5).
- Updated commit log of 3/5 as it wasn't clear enough earlier.

Viresh Kumar (5):
cpufreq: Remove the redundant !setpolicy check
cpufreq: Replace few CPUFREQ_CONST_LOOPS checks with has_target()
cpufreq: Use has_target() instead of !setpolicy
cpufreq: Reuse cpufreq_update_current_freq() in __cpufreq_get()
cpufreq: Avoid calling cpufreq_verify_current_freq() from
handle_update()

 drivers/cpufreq/cpufreq.c | 115 +++++++++++++++++---------------------
 1 file changed, 52 insertions(+), 63 deletions(-)
Signature · 1 line
2.21.0.rc0.269.g1a574e7a288b