aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/cpufreq/omap-cpufreq.c
diff options
context:
space:
mode:
authorViresh Kumar <viresh.kumar@linaro.org>2013-02-01 01:40:02 -0500
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2013-02-01 19:29:32 -0500
commit62b36cc1c83aca1cd252772e82cbc5d9ef8ff25b (patch)
tree1b016a0b4efea3be2f484650bf81386f0f825449 /drivers/cpufreq/omap-cpufreq.c
parent4c738d00cf5866a0b114ceb41d736a4a803f0c46 (diff)
cpufreq: Remove unnecessary use of policy->shared_type
policy->shared_type field was added only for SoCs with ACPI support: commit 3b2d99429e3386b6e2ac949fc72486509c8bbe36 Author: Venkatesh Pallipadi <venkatesh.pallipadi@intel.com> Date: Wed Dec 14 15:05:00 2005 -0500 P-state software coordination for ACPI core http://bugzilla.kernel.org/show_bug.cgi?id=5737 Many non-ACPI systems are filling this field by mistake, which makes its usage confusing. Lets clean it. Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org> Acked-by: Santosh Shilimkar <santosh.shilimkar@ti.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/cpufreq/omap-cpufreq.c')
-rw-r--r--drivers/cpufreq/omap-cpufreq.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/cpufreq/omap-cpufreq.c b/drivers/cpufreq/omap-cpufreq.c
index 97102b05843f..9128c07bafba 100644
--- a/drivers/cpufreq/omap-cpufreq.c
+++ b/drivers/cpufreq/omap-cpufreq.c
@@ -214,10 +214,8 @@ static int __cpuinit omap_cpu_init(struct cpufreq_policy *policy)
214 * interface to handle this scenario. Additional is_smp() check 214 * interface to handle this scenario. Additional is_smp() check
215 * is to keep SMP_ON_UP build working. 215 * is to keep SMP_ON_UP build working.
216 */ 216 */
217 if (is_smp()) { 217 if (is_smp())
218 policy->shared_type = CPUFREQ_SHARED_TYPE_ANY;
219 cpumask_setall(policy->cpus); 218 cpumask_setall(policy->cpus);
220 }
221 219
222 /* FIXME: what's the actual transition time? */ 220 /* FIXME: what's the actual transition time? */
223 policy->cpuinfo.transition_latency = 300 * 1000; 221 policy->cpuinfo.transition_latency = 300 * 1000;