linux/Documentation/cpu-freq
Stratos Karafotis 27e289dce2 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>
2014-04-30 00:05:31 +02:00
..
amd-powernow.txt
boost.txt Documentation: cpufreq / boost: Update BOOST documentation 2014-01-17 02:00:45 +01:00
core.txt cpufreq: remove unused notifier: CPUFREQ_{SUSPENDCHANGE|RESUMECHANGE} 2014-03-19 14:10:24 +01:00
cpu-drivers.txt cpufreq: Introduce macros for cpufreq_frequency_table iteration 2014-04-30 00:05:31 +02:00
cpufreq-nforce2.txt
cpufreq-stats.txt
governors.txt cpufreq: Implement light weight ->target_index() routine 2013-10-25 22:42:24 +02:00
index.txt
intel-pstate.txt Documentation / cpufreq: add intel-pstate.txt 2014-01-06 01:14:25 +01:00
pcc-cpufreq.txt [CPUFREQ] Processor Clocking Control interface driver 2010-01-13 10:55:16 -05:00
user-guide.txt cpufreq: Update Documentation for cpus and related_cpus 2013-02-02 00:01:16 +01:00