summaryrefslogtreecommitdiffstats
path: root/drivers/cpufreq/blackfin-cpufreq.c
diff options
context:
space:
mode:
authorViresh Kumar <viresh.kumar@linaro.org>2013-10-03 20:28:34 +0530
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2013-10-16 00:50:28 +0200
commit49ad1eabb6b46bc9d5b4f6c21bf0a555f35905d5 (patch)
treea12e88b729bbcdc834f4d1d82eaee310a4fcfba0 /drivers/cpufreq/blackfin-cpufreq.c
parent017189b51e0eecd58cf4f65f6f16d59dae6c1368 (diff)
downloadlinux-stable-49ad1eabb6b46bc9d5b4f6c21bf0a555f35905d5.tar.gz
linux-stable-49ad1eabb6b46bc9d5b4f6c21bf0a555f35905d5.tar.bz2
linux-stable-49ad1eabb6b46bc9d5b4f6c21bf0a555f35905d5.zip
cpufreq: blackfin: 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: Steven Miao <realmz6@gmail.com> 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/blackfin-cpufreq.c')
-rw-r--r--drivers/cpufreq/blackfin-cpufreq.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/cpufreq/blackfin-cpufreq.c b/drivers/cpufreq/blackfin-cpufreq.c
index 48888cf23bba..0bc9e8c2c79b 100644
--- a/drivers/cpufreq/blackfin-cpufreq.c
+++ b/drivers/cpufreq/blackfin-cpufreq.c
@@ -204,7 +204,6 @@ static int __bfin_cpu_init(struct cpufreq_policy *policy)
policy->cpuinfo.transition_latency = 50000; /* 50us assumed */
- policy->cur = cclk;
return cpufreq_table_validate_and_show(policy, bfin_freq_table);
}