summaryrefslogtreecommitdiffstats
path: root/drivers/cpufreq/s3c64xx-cpufreq.c
diff options
context:
space:
mode:
authorStratos Karafotis <stratosk@semaphore.gr>2014-04-25 23:15:23 +0300
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2014-04-30 00:05:31 +0200
commit27e289dce29764e488c1e13e9aa6950cad1f4aab (patch)
tree8904333726b188ff77958bfd293bfe789a88ac05 /drivers/cpufreq/s3c64xx-cpufreq.c
parentd1db0eea852497762cab43b905b879dfcd3b8987 (diff)
downloadblackbird-obmc-linux-27e289dce29764e488c1e13e9aa6950cad1f4aab.tar.gz
blackbird-obmc-linux-27e289dce29764e488c1e13e9aa6950cad1f4aab.zip
cpufreq: Introduce macros for cpufreq_frequency_table iteration
Many cpufreq drivers need to iterate over the cpufreq_frequency_table for various tasks. This patch introduces two macros which can be used for iteration over cpufreq_frequency_table keeping a common coding style across drivers: - cpufreq_for_each_entry: iterate over each entry of the table - cpufreq_for_each_valid_entry: iterate over each entry that contains a valid frequency. It should have no functional changes. Signed-off-by: Stratos Karafotis <stratosk@semaphore.gr> Acked-by: Lad, Prabhakar <prabhakar.csengg@gmail.com> Acked-by: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/cpufreq/s3c64xx-cpufreq.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud