cpufreq: Move get_cpu_idle_time() to cpufreq.c
authorViresh Kumar <viresh.kumar@linaro.org>
Fri, 17 May 2013 11:26:32 +0000 (11:26 +0000)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 27 May 2013 11:20:56 +0000 (13:20 +0200)
commit72a4ce340a7ebf39e1c6fdc8f5feb4f974d6c635
treed7f8215bb0b0c6eb064c69e3957b0dd72ec490e4
parent944e9a0316e60bc5bc122e46c1fde36e5f6e9f56
cpufreq: Move get_cpu_idle_time() to cpufreq.c

Governors other than ondemand and conservative can also use
get_cpu_idle_time() and they aren't required to compile
cpufreq_governor.c. So, move these independent routines to
cpufreq.c instead.

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