Skip to content

cpu_cooling: cooling dev registration cleanups

Viresh Kumar linux-pm lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest4 patches 1 replyIn review
  2. v14 patches 38 repliesSuperseded

Changes in v2 from the cover letter

- Fixed a compilation warning when CONFIG_CPU_THERMAL isn't selected.

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4cpu_cooling: Make of_cpufreq_power_cooling_register() parse DTDocumentation/thermal/cpu-cooling-api.txt drivers/cpufreq/arm_big_little.c drivers/cpufreq/cpufreq-dt.c +4 more+41 -1160 replies
2/4cpu_cooling: Remove unused cpufreq_power_cooling_register()Documentation/thermal/cpu-cooling-api.txt drivers/thermal/cpu_cooling.c include/linux/cpu_cooling.h+3 -610 replies
3/4cpu_cooling: Keep only one of_cpufreq*cooling_register() helperDocumentation/thermal/cpu-cooling-api.txt drivers/cpufreq/arm_big_little.c drivers/cpufreq/cpufreq-dt.c +4 more+23 -800 replies
4/4cpu_cooling: Drop static-power related stuffdrivers/thermal/cpu_cooling.c include/linux/cpu_cooling.h include/trace/events/thermal.h+16 -1031 reply

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by.

PatchEduardo Valentin
1/4A-b
2/4A-b
3/4A-b
4/4A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH V2 0/4] cpu_cooling: cooling dev registration cleanups

Hi,

This cleans up the helpers exposed by cpu_cooling driver and its users and removes a lot of code (around 280 lines effectively). Lots of unused code is removed.

Tested on Hikey6220 and based over pm/linux-next.

V1->V2:
- Fixed a compilation warning when CONFIG_CPU_THERMAL isn't selected.

--
viresh

Viresh Kumar (4):
cpu_cooling: Make of_cpufreq_power_cooling_register() parse DT
cpu_cooling: Remove unused cpufreq_power_cooling_register()
cpu_cooling: Keep only one of_cpufreq*cooling_register() helper
cpu_cooling: Drop static-power related stuff

 Documentation/thermal/cpu-cooling-api.txt |  33 +----
 drivers/cpufreq/arm_big_little.c          |  23 +---
 drivers/cpufreq/cpufreq-dt.c              |  27 +---
 drivers/cpufreq/mediatek-cpufreq.c        |  22 +---
 drivers/cpufreq/qoriq-cpufreq.c           |  14 +--
 drivers/thermal/cpu_cooling.c             | 201 ++++++------------------------
 include/linux/cpu_cooling.h               |  75 +++--------
 include/trace/events/thermal.h            |  10 +-
 8 files changed, 64 insertions(+), 341 deletions(-)
Signature · 1 line
2.11.0