cpufreq: Simplify the cpufreq_for_each_valid_entry()
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 25 Feb 2016 23:22:57 +0000 (00:22 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 26 Feb 2016 21:11:56 +0000 (22:11 +0100)
commit34b0870515aaac6b7ea1ffdc370516b0a8024c82
tree8d9580c93549e4e93bee6e5770defad59dcc4e0a
parent9a909a142f02bfa5fd3e203a564abc82fd0240c3
cpufreq: Simplify the cpufreq_for_each_valid_entry()

That macro uses an internal static inline function that is first
totally unnecessary and second hard to read, so simplify it and
get rid of that monster.

No functional changes.

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
include/linux/cpufreq.h