commit | 3c84ef3af7c5778e25145a1fef29a816730a830c | [log] [tgz] |
---|---|---|
author | Stratos Karafotis <stratosk@semaphore.gr> | Fri Apr 25 23:16:39 2014 +0300 |
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | Wed Apr 30 00:06:49 2014 +0200 |
tree | e34122e0e7738c331ed69de13a4df0f51303f3aa | |
parent | 4966ee4037fedd80871659333172481073ec2fac [diff] |
thermal: cpu_cooling: Use cpufreq_for_each_valid_entry macro for iteration The cpufreq core now supports the cpufreq_for_each_valid_entry macro helper for iteration over the cpufreq_frequency_table, so use it. Also remove the redundant !! operator. It should have no functional changes. Signed-off-by: Stratos Karafotis <stratosk@semaphore.gr> Acked-by: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>