]> git.karo-electronics.de Git - linux-beck.git/commit
thermal: cpu_cooling: Don't check is_cpufreq_valid()
authorViresh Kumar <viresh.kumar@linaro.org>
Thu, 4 Dec 2014 04:11:57 +0000 (09:41 +0530)
committerEduardo Valentin <edubezval@gmail.com>
Mon, 8 Dec 2014 16:08:57 +0000 (12:08 -0400)
commitc9ca319f0579cd51b07a666683157233c2cf720d
tree1740504a07be64925982fdf3c9c3413eaf129a4f
parente1fae554fb69b8869acbea9397d15758a93d1204
thermal: cpu_cooling: Don't check is_cpufreq_valid()

Because get_cpu_frequency() has returned a valid frequency, it means that the
cpufreq policy is surely valid and so no point checking that again with
is_cpufreq_valid(). Get rid of the routine as well as there are no more users.

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