|
@@ -373,18 +373,7 @@ struct clk *s3c_cpufreq_clk_get(struct device *dev, const char *name)
|
|
|
|
|
|
static int s3c_cpufreq_init(struct cpufreq_policy *policy)
|
|
|
{
|
|
|
- printk(KERN_INFO "%s: initialising policy %p\n", __func__, policy);
|
|
|
-
|
|
|
- if (policy->cpu != 0)
|
|
|
- return -EINVAL;
|
|
|
-
|
|
|
- /* feed the latency information from the cpu driver */
|
|
|
- policy->cpuinfo.transition_latency = cpu_cur.info->latency;
|
|
|
-
|
|
|
- if (ftab)
|
|
|
- return cpufreq_table_validate_and_show(policy, ftab);
|
|
|
-
|
|
|
- return 0;
|
|
|
+ return cpufreq_generic_init(policy, ftab, cpu_cur.info->latency);
|
|
|
}
|
|
|
|
|
|
static int __init s3c_cpufreq_initclks(void)
|