irda: sh_sir: Use cpufreq_for_each_valid_entry macro for iteration
authorStratos Karafotis <stratosk@semaphore.gr>
Fri, 25 Apr 2014 20:16:49 +0000 (23:16 +0300)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 29 Apr 2014 22:06:54 +0000 (00:06 +0200)
commit04ae58645afa0b411e129a3de04a1a0aacf89cc5
tree2cf3d730268343579a499177f67b779d2d1c60e2
parent3c84ef3af7c5778e25145a1fef29a816730a830c
irda: sh_sir: Use cpufreq_for_each_valid_entry macro for iteration

The cpufreq core supports the cpufreq_for_each_valid_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>
drivers/net/irda/sh_sir.c