diff options
author | Viresh Kumar <viresh.kumar@linaro.org> | 2013-10-03 16:58:45 +0200 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2013-10-16 00:50:30 +0200 |
commit | 5e62178cb9088edc002c848912f8610b159d57a8 (patch) | |
tree | 3efa00cb0ab647ef4953ba728077222e007ec4d2 /drivers/cpufreq/imx6q-cpufreq.c | |
parent | cpufreq: ia64-acpi: don't initialize part of policy set by core (diff) | |
download | linux-5e62178cb9088edc002c848912f8610b159d57a8.tar.xz linux-5e62178cb9088edc002c848912f8610b159d57a8.zip |
cpufreq: imx6q: 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().
Cc: Shawn Guo <shawn.guo@linaro.org>
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/imx6q-cpufreq.c')
-rw-r--r-- | drivers/cpufreq/imx6q-cpufreq.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/cpufreq/imx6q-cpufreq.c b/drivers/cpufreq/imx6q-cpufreq.c index d83965737462..9d22dfa7a2be 100644 --- a/drivers/cpufreq/imx6q-cpufreq.c +++ b/drivers/cpufreq/imx6q-cpufreq.c @@ -163,7 +163,6 @@ static int imx6q_cpufreq_init(struct cpufreq_policy *policy) } policy->cpuinfo.transition_latency = transition_latency; - policy->cur = clk_get_rate(arm_clk) / 1000; cpumask_setall(policy->cpus); return 0; |