]> git.karo-electronics.de Git - karo-tx-linux.git/commit
cpufreq: Move common part from governors to separate file, v2
authorviresh kumar <viresh.kumar@linaro.org>
Mon, 22 Oct 2012 23:28:05 +0000 (01:28 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 22 Oct 2012 23:28:05 +0000 (01:28 +0200)
commit83a73f712f2275033b2dc7f5c664988a1823ebc7
tree8d88c0781336c495f6d9cf25b286f7d91a27b61a
parentef6b13d4dab05791de8440bb66e7d37a11605ffe
cpufreq: Move common part from governors to separate file, v2

Multiple cpufreq governers have defined similar get_cpu_idle_time_***()
routines. These routines must be moved to some common place, so that all
governors can use them.

So moving them to cpufreq_governor.c, which seems to be a better place for
keeping these routines.

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpufreq/Makefile
drivers/cpufreq/cpufreq_conservative.c
drivers/cpufreq/cpufreq_governor.c [new file with mode: 0644]
drivers/cpufreq/cpufreq_ondemand.c
include/linux/cpufreq.h