linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH V2 0/4] cpu_cooling: cooling dev registration cleanups
@ 2017-12-05  5:32 Viresh Kumar
  2017-12-05  5:32 ` [PATCH V2 1/4] cpu_cooling: Make of_cpufreq_power_cooling_register() parse DT Viresh Kumar
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Viresh Kumar @ 2017-12-05  5:32 UTC (permalink / raw)
  To: Rafael Wysocki, edubezval
  Cc: Viresh Kumar, linux-pm, linux-kernel, Vincent Guittot,
	javi.merino, amit.kachhap, rui.zhang, ionela.voinescu

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(-)

-- 
2.11.0

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2017-12-30 11:52 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-12-05  5:32 [PATCH V2 0/4] cpu_cooling: cooling dev registration cleanups Viresh Kumar
2017-12-05  5:32 ` [PATCH V2 1/4] cpu_cooling: Make of_cpufreq_power_cooling_register() parse DT Viresh Kumar
2017-12-05  5:32 ` [PATCH V2 2/4] cpu_cooling: Remove unused cpufreq_power_cooling_register() Viresh Kumar
2017-12-05  5:32 ` [PATCH V2 3/4] cpu_cooling: Keep only one of_cpufreq*cooling_register() helper Viresh Kumar
2017-12-05  5:32 ` [PATCH V2 4/4] cpu_cooling: Drop static-power related stuff Viresh Kumar
2017-12-30 11:52   ` Javi Merino

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).