]> rtime.felk.cvut.cz Git - linux-imx.git/commit
cpufreq: governors: Remove code redundancy between governors
authorViresh Kumar <viresh.kumar@linaro.org>
Thu, 31 Jan 2013 17:28:02 +0000 (17:28 +0000)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Sat, 2 Feb 2013 00:02:44 +0000 (01:02 +0100)
commit4447266b842d27f77b017a59eb9dc38ad7b299f1
treef8ae835b7ecee18948afabd75633ea7676b6a4ac
parent8eeed0956615294200be783bb67d851280b5b1b9
cpufreq: governors: Remove code redundancy between governors

With the inclusion of following patches:

9f4eb10 cpufreq: conservative: call dbs_check_cpu only when necessary
772b4b1 cpufreq: ondemand: call dbs_check_cpu only when necessary

code redundancy between the conservative and ondemand governors is
introduced again, so get rid of it.

[rjw: Changelog]
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Tested-by: Fabio Baltieri <fabio.baltieri@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpufreq/cpufreq_conservative.c
drivers/cpufreq/cpufreq_governor.c
drivers/cpufreq/cpufreq_governor.h
drivers/cpufreq/cpufreq_ondemand.c