diff options
Diffstat (limited to 'drivers/cpufreq/cpufreq_powersave.c')
-rw-r--r-- | drivers/cpufreq/cpufreq_powersave.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/drivers/cpufreq/cpufreq_powersave.c b/drivers/cpufreq/cpufreq_powersave.c index 0a2596044e65..13fe06b94b0a 100644 --- a/drivers/cpufreq/cpufreq_powersave.c +++ b/drivers/cpufreq/cpufreq_powersave.c | |||
@@ -15,7 +15,8 @@ | |||
15 | #include <linux/cpufreq.h> | 15 | #include <linux/cpufreq.h> |
16 | #include <linux/init.h> | 16 | #include <linux/init.h> |
17 | 17 | ||
18 | #define dprintk(msg...) cpufreq_debug_printk(CPUFREQ_DEBUG_GOVERNOR, "powersave", msg) | 18 | #define dprintk(msg...) \ |
19 | cpufreq_debug_printk(CPUFREQ_DEBUG_GOVERNOR, "powersave", msg) | ||
19 | 20 | ||
20 | static int cpufreq_governor_powersave(struct cpufreq_policy *policy, | 21 | static int cpufreq_governor_powersave(struct cpufreq_policy *policy, |
21 | unsigned int event) | 22 | unsigned int event) |
@@ -23,8 +24,10 @@ static int cpufreq_governor_powersave(struct cpufreq_policy *policy, | |||
23 | switch (event) { | 24 | switch (event) { |
24 | case CPUFREQ_GOV_START: | 25 | case CPUFREQ_GOV_START: |
25 | case CPUFREQ_GOV_LIMITS: | 26 | case CPUFREQ_GOV_LIMITS: |
26 | dprintk("setting to %u kHz because of event %u\n", policy->min, event); | 27 | dprintk("setting to %u kHz because of event %u\n", |
27 | __cpufreq_driver_target(policy, policy->min, CPUFREQ_RELATION_L); | 28 | policy->min, event); |
29 | __cpufreq_driver_target(policy, policy->min, | ||
30 | CPUFREQ_RELATION_L); | ||
28 | break; | 31 | break; |
29 | default: | 32 | default: |
30 | break; | 33 | break; |