mbox series

[0/4] cpu_cooling: cooling dev registration cleanups

Message ID cover.1510735482.git.viresh.kumar@linaro.org
Headers show
Series cpu_cooling: cooling dev registration cleanups | expand

Message

Viresh Kumar Nov. 15, 2017, 9:19 a.m. UTC
Hi,

This touches cpu_cooling and a bunch of cpufreq drivers and I am not
sure who should take these patches really.

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 linux-next/master.
Not targeted for 4.15-rc1 :)

--
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.15.0.194.g9af6a3dea062

Comments

Rafael J. Wysocki Nov. 15, 2017, 6:08 p.m. UTC | #1
On Wed, Nov 15, 2017 at 10:19 AM, Viresh Kumar <viresh.kumar@linaro.org> wrote:
> Hi,

>

> This touches cpu_cooling and a bunch of cpufreq drivers and I am not

> sure who should take these patches really.


Well, either me or Rui anyway and it is basically fine by me either way. :-)

> 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 linux-next/master.

> Not targeted for 4.15-rc1 :)


Cool.

Rui, any concerns against this going in via linux-pm?

> --

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

>

> --


Thanks,
Rafael