]> 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>
Wed, 14 Nov 2012 23:33:06 +0000 (00:33 +0100)
commit2aacdfff9c6958723aa5076003247933cefc32ea
treea9ce276509ea2bf7b880920af0431a3d8fe86245
parent4b972f0b04eaae645b22d99479b9aea43c3d64e7
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