sh: clk: Use cpufreq_for_each_valid_entry macro for iteration
authorStratos Karafotis <stratosk@semaphore.gr>
Fri, 25 Apr 2014 20:16:58 +0000 (23:16 +0300)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 29 Apr 2014 22:07:00 +0000 (00:07 +0200)
commit4229e1c61a4a7ac21d5d0790f6add1c9b98d33e7
tree6ea8a851517e44946f2614aa0252c4216c136b4c
parent04ae58645afa0b411e129a3de04a1a0aacf89cc5
sh: clk: 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.

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/sh/clk/core.c