aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'drivers')
-rw-r--r--drivers/cpufreq/cpufreq.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/cpufreq/cpufreq.c b/drivers/cpufreq/cpufreq.c
index f2179ab65c42..3d0430741b5a 100644
--- a/drivers/cpufreq/cpufreq.c
+++ b/drivers/cpufreq/cpufreq.c
@@ -695,9 +695,8 @@ static int cpufreq_add_dev (struct sys_device * sys_dev)
695 policy->governor = NULL; /* to assure that the starting sequence is 695 policy->governor = NULL; /* to assure that the starting sequence is
696 * run in cpufreq_set_policy */ 696 * run in cpufreq_set_policy */
697 mutex_unlock(&policy->lock); 697 mutex_unlock(&policy->lock);
698 698
699 /* set default policy */ 699 /* set default policy */
700
701 ret = cpufreq_set_policy(&new_policy); 700 ret = cpufreq_set_policy(&new_policy);
702 if (ret) { 701 if (ret) {
703 dprintk("setting policy failed\n"); 702 dprintk("setting policy failed\n");
@@ -707,7 +706,7 @@ static int cpufreq_add_dev (struct sys_device * sys_dev)
707 module_put(cpufreq_driver->owner); 706 module_put(cpufreq_driver->owner);
708 dprintk("initialization complete\n"); 707 dprintk("initialization complete\n");
709 cpufreq_debug_enable_ratelimit(); 708 cpufreq_debug_enable_ratelimit();
710 709
711 return 0; 710 return 0;
712 711
713 712