cpufreq: Create for_each_governor()
authorViresh Kumar <viresh.kumar@linaro.org>
Tue, 27 Jan 2015 08:36:09 +0000 (14:06 +0530)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 3 Feb 2015 22:28:01 +0000 (23:28 +0100)
commitf7b2706117bc4459cd748352cbe4ae69a41c8ed6
tree2ce6b30de221cff2f149fa7f108d74c53ec7dc22
parentb4f0676fe20da6abe4577cf960862bed7a31647e
cpufreq: Create for_each_governor()

To make code more readable and less error prone, lets create a helper macro for
iterating over all available governors.

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Acked-by: Saravana Kannan <skannan@codeaurora.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpufreq/cpufreq.c