aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/cpufreq/cris-artpec3-cpufreq.c1
-rw-r--r--drivers/cpufreq/cris-etraxfs-cpufreq.c1
2 files changed, 0 insertions, 2 deletions
diff --git a/drivers/cpufreq/cris-artpec3-cpufreq.c b/drivers/cpufreq/cris-artpec3-cpufreq.c
index d26f4e45dabd..4d88e4fa2ad4 100644
--- a/drivers/cpufreq/cris-artpec3-cpufreq.c
+++ b/drivers/cpufreq/cris-artpec3-cpufreq.c
@@ -73,7 +73,6 @@ static int cris_freq_cpu_init(struct cpufreq_policy *policy)
73{ 73{
74 /* cpuinfo and default policy values */ 74 /* cpuinfo and default policy values */
75 policy->cpuinfo.transition_latency = 1000000; /* 1ms */ 75 policy->cpuinfo.transition_latency = 1000000; /* 1ms */
76 policy->cur = cris_freq_get_cpu_frequency(0);
77 76
78 return cpufreq_table_validate_and_show(policy, cris_freq_table); 77 return cpufreq_table_validate_and_show(policy, cris_freq_table);
79} 78}
diff --git a/drivers/cpufreq/cris-etraxfs-cpufreq.c b/drivers/cpufreq/cris-etraxfs-cpufreq.c
index d384e638fdbb..f7d2d49f7c07 100644
--- a/drivers/cpufreq/cris-etraxfs-cpufreq.c
+++ b/drivers/cpufreq/cris-etraxfs-cpufreq.c
@@ -72,7 +72,6 @@ static int cris_freq_cpu_init(struct cpufreq_policy *policy)
72{ 72{
73 /* cpuinfo and default policy values */ 73 /* cpuinfo and default policy values */
74 policy->cpuinfo.transition_latency = 1000000; /* 1ms */ 74 policy->cpuinfo.transition_latency = 1000000; /* 1ms */
75 policy->cur = cris_freq_get_cpu_frequency(0);
76 75
77 return cpufreq_table_validate_and_show(policy, cris_freq_table); 76 return cpufreq_table_validate_and_show(policy, cris_freq_table);
78} 77}