thermal: cpu_cooling: Merge cpufreq_apply_cooling() into cpufreq_set_cur_state()
authorViresh Kumar <viresh.kumar@linaro.org>
Thu, 4 Dec 2014 04:12:00 +0000 (09:42 +0530)
committerEduardo Valentin <edubezval@gmail.com>
Mon, 8 Dec 2014 18:04:56 +0000 (14:04 -0400)
commit5194fe469927e50367b35e556812c7fc6ce130d1
tree51673e1f5f719c631e466cb3ffff0ab981927f75
parent7adb635b3cd790e4e0d7e9d0b3dd30574ae36596
thermal: cpu_cooling: Merge cpufreq_apply_cooling() into cpufreq_set_cur_state()

cpufreq_apply_cooling() has a single caller, cpufreq_set_cur_state() and
cpufreq_set_cur_state() is an unnecessary wrapper over cpufreq_apply_cooling().

Get rid of it by merging both routines.

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
drivers/thermal/cpu_cooling.c