From: Stratos Karafotis Date: Fri, 25 Apr 2014 20:15:23 +0000 (+0300) Subject: cpufreq: Introduce macros for cpufreq_frequency_table iteration X-Git-Tag: omap-for-v3.16/fixes-against-rc1~91^2~6^2~69^3~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=27e289dce29764e488c1e13e9aa6950cad1f4aab;p=pandora-kernel.git 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 Acked-by: Lad, Prabhakar Acked-by: Viresh Kumar Signed-off-by: Rafael J. Wysocki --- Reading git-diff-tree failed