mips: lemote 2f: Use cpufreq_for_each_entry macro for iteration
authorStratos Karafotis <stratosk@semaphore.gr>
Fri, 25 Apr 2014 20:16:25 +0000 (23:16 +0300)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 29 Apr 2014 22:06:43 +0000 (00:06 +0200)
commit4966ee4037fedd80871659333172481073ec2fac
treec0c45898eedb7f966b368183071092f6d93185e8
parentfdb56c45a2cadd11b27447f9468c712b59e15b33
mips: lemote 2f: Use cpufreq_for_each_entry macro for iteration

The cpufreq core now supports the cpufreq_for_each_entry macro helper
for iteration over the cpufreq_frequency_table, so use it.

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>
arch/mips/loongson/lemote-2f/clock.c