git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e1fae55
)
thermal: cpu_cooling: Don't check is_cpufreq_valid()
author
Viresh Kumar
<viresh.kumar@linaro.org>
Thu, 4 Dec 2014 04:11:57 +0000
(09:41 +0530)
committer
Eduardo Valentin
<edubezval@gmail.com>
Mon, 8 Dec 2014 16:08:57 +0000
(12:08 -0400)
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>
No differences found