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

2017-12-04 Thread Viresh Kumar
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.

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

2017-12-04 Thread Viresh Kumar
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.