On 04-02-16, 00:14, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki <rafael.j.wyso...@intel.com> > > The preprocessor magic used for setting the default cpufreq governor > (and for using the performance governor as a fallback one for that > matter) is really nasty, so replace it with __weak functions and > overrides. > > Signed-off-by: Rafael J. Wysocki <rafael.j.wyso...@intel.com> > --- > drivers/cpufreq/cpufreq.c | 37 > ++++++++++++++++++--------------- > drivers/cpufreq/cpufreq_conservative.c | 10 +++++--- > drivers/cpufreq/cpufreq_ondemand.c | 34 ++++++++++++++++-------------- > drivers/cpufreq/cpufreq_performance.c | 18 ++++++++++++---- > drivers/cpufreq/cpufreq_powersave.c | 10 +++++--- > drivers/cpufreq/cpufreq_userspace.c | 10 +++++--- > include/linux/cpufreq.h | 25 +--------------------- > 7 files changed, 73 insertions(+), 71 deletions(-)
Acked-by: Viresh Kumar <viresh.ku...@linaro.org> -- viresh