aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/cpufreq/davinci-cpufreq.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/cpufreq/davinci-cpufreq.c b/drivers/cpufreq/davinci-cpufreq.c
index 551dd655c6f2..f67196e21fc9 100644
--- a/drivers/cpufreq/davinci-cpufreq.c
+++ b/drivers/cpufreq/davinci-cpufreq.c
@@ -140,15 +140,13 @@ static int davinci_cpu_init(struct cpufreq_policy *policy)
140 140
141 policy->cur = davinci_getspeed(0); 141 policy->cur = davinci_getspeed(0);
142 142
143 result = cpufreq_frequency_table_cpuinfo(policy, freq_table); 143 result = cpufreq_table_validate_and_show(policy, freq_table);
144 if (result) { 144 if (result) {
145 pr_err("%s: cpufreq_frequency_table_cpuinfo() failed", 145 pr_err("%s: cpufreq_table_validate_and_show() failed",
146 __func__); 146 __func__);
147 return result; 147 return result;
148 } 148 }
149 149
150 cpufreq_frequency_table_get_attr(freq_table, policy->cpu);
151
152 /* 150 /*
153 * Time measurement across the target() function yields ~1500-1800us 151 * Time measurement across the target() function yields ~1500-1800us
154 * time taken with no drivers on notification list. 152 * time taken with no drivers on notification list.