Re: [PATCH 05/17] thermal: cpu_cooling: remove cpufreq_cooling_get_level()

2017-04-11 Thread Viresh Kumar
On 11-04-17, 10:43, Eduardo Valentin wrote: > On Thu, Mar 16, 2017 at 10:59:40AM +0530, Viresh Kumar wrote: > > There is only one user of cpufreq_cooling_get_level() and that already > > has pointer to the cpufreq_dev structure. It can directly call > > get_level() instead and we can get rid of cpu

Re: [PATCH 05/17] thermal: cpu_cooling: remove cpufreq_cooling_get_level()

2017-04-11 Thread Eduardo Valentin
On Thu, Mar 16, 2017 at 10:59:40AM +0530, Viresh Kumar wrote: > There is only one user of cpufreq_cooling_get_level() and that already > has pointer to the cpufreq_dev structure. It can directly call > get_level() instead and we can get rid of cpufreq_cooling_get_level(). > > Signed-off-by: Viresh

[PATCH 05/17] thermal: cpu_cooling: remove cpufreq_cooling_get_level()

2017-03-15 Thread Viresh Kumar
There is only one user of cpufreq_cooling_get_level() and that already has pointer to the cpufreq_dev structure. It can directly call get_level() instead and we can get rid of cpufreq_cooling_get_level(). Signed-off-by: Viresh Kumar --- drivers/thermal/cpu_cooling.c | 33 +---