thermal: cpu_cooling: use cpufreq_dev_list instead of cpufreq_dev_count
authorViresh Kumar <viresh.kumar@linaro.org>
Thu, 4 Dec 2014 04:12:04 +0000 (09:42 +0530)
committerEduardo Valentin <edubezval@gmail.com>
Mon, 8 Dec 2014 18:09:15 +0000 (14:09 -0400)
As we already have a list of cpufreq_cooling_devices now, lets use it instead of
a local counter.

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

No differences found