diff options
author | Viresh Kumar <viresh.kumar@linaro.org> | 2013-10-03 20:29:03 +0530 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2013-10-16 00:50:32 +0200 |
commit | 1812136ec9adca227b185305b538a8a2065038d2 (patch) | |
tree | cd0f1f8e6f2f6550157e4648da00e55bb73cc1b9 /drivers/cpufreq/spear-cpufreq.c | |
parent | 0ff12b6f487cbf01c47c551f8614f06c0dfd6a7a (diff) | |
download | op-kernel-dev-1812136ec9adca227b185305b538a8a2065038d2.zip op-kernel-dev-1812136ec9adca227b185305b538a8a2065038d2.tar.gz |
cpufreq: spear: don't initialize part of policy set by core
Many common initializations of struct policy are moved to core now and hence
this driver doesn't need to do it. This patch removes such code.
Most recent of those changes is to call ->get() in the core after calling
->init().
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/cpufreq/spear-cpufreq.c')
-rw-r--r-- | drivers/cpufreq/spear-cpufreq.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/cpufreq/spear-cpufreq.c b/drivers/cpufreq/spear-cpufreq.c index e9657e3..aacdb61 100644 --- a/drivers/cpufreq/spear-cpufreq.c +++ b/drivers/cpufreq/spear-cpufreq.c @@ -180,8 +180,6 @@ static int spear_cpufreq_init(struct cpufreq_policy *policy) } policy->cpuinfo.transition_latency = spear_cpufreq.transition_latency; - policy->cur = spear_cpufreq_get(0); - cpumask_setall(policy->cpus); return 0; |