Code cleanup and re-formatting
/arch/arm/mach-msm/cpufreq.c
blob:1d832be4a6b7e70584620289b1d2f90f640a0214 -> blob:102680c04c9d78f94cc2f01d2120b0130db78270
--- arch/arm/mach-msm/cpufreq.c
+++ arch/arm/mach-msm/cpufreq.c
@@ -363,10 +363,6 @@ static int __cpuinit msm_cpufreq_init(st
init_completion(&cpu_work->complete);
#endif
-#ifdef CONFIG_MSM_CPU_FREQ_SET_MIN_MAX
- policy->min = CONFIG_MSM_CPU_FREQ_MIN;
- policy->max = CONFIG_MSM_CPU_FREQ_MAX;
-#endif
return 0;
}
@@ -379,8 +375,6 @@ static int msm_cpufreq_suspend(void)
per_cpu(cpufreq_suspend, cpu).device_suspended = 1;
mutex_unlock(&per_cpu(cpufreq_suspend, cpu).suspend_mutex);
}
- if (num_online_cpus() > 1)
- cpu_down(1);
return NOTIFY_DONE;
}