diff options
Diffstat (limited to 'drivers/cpufreq/pxa2xx-cpufreq.c')
-rw-r--r-- | drivers/cpufreq/pxa2xx-cpufreq.c | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/drivers/cpufreq/pxa2xx-cpufreq.c b/drivers/cpufreq/pxa2xx-cpufreq.c index 8a27667c16fa..ce345bf34d5d 100644 --- a/drivers/cpufreq/pxa2xx-cpufreq.c +++ b/drivers/cpufreq/pxa2xx-cpufreq.c | |||
@@ -29,6 +29,8 @@ | |||
29 | * | 29 | * |
30 | */ | 30 | */ |
31 | 31 | ||
32 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt | ||
33 | |||
32 | #include <linux/kernel.h> | 34 | #include <linux/kernel.h> |
33 | #include <linux/module.h> | 35 | #include <linux/module.h> |
34 | #include <linux/sched.h> | 36 | #include <linux/sched.h> |
@@ -186,8 +188,7 @@ static int pxa_cpufreq_change_voltage(const struct pxa_freqs *pxa_freq) | |||
186 | 188 | ||
187 | ret = regulator_set_voltage(vcc_core, vmin, vmax); | 189 | ret = regulator_set_voltage(vcc_core, vmin, vmax); |
188 | if (ret) | 190 | if (ret) |
189 | pr_err("cpufreq: Failed to set vcc_core in [%dmV..%dmV]\n", | 191 | pr_err("Failed to set vcc_core in [%dmV..%dmV]\n", vmin, vmax); |
190 | vmin, vmax); | ||
191 | return ret; | 192 | return ret; |
192 | } | 193 | } |
193 | 194 | ||
@@ -195,10 +196,10 @@ static void __init pxa_cpufreq_init_voltages(void) | |||
195 | { | 196 | { |
196 | vcc_core = regulator_get(NULL, "vcc_core"); | 197 | vcc_core = regulator_get(NULL, "vcc_core"); |
197 | if (IS_ERR(vcc_core)) { | 198 | if (IS_ERR(vcc_core)) { |
198 | pr_info("cpufreq: Didn't find vcc_core regulator\n"); | 199 | pr_info("Didn't find vcc_core regulator\n"); |
199 | vcc_core = NULL; | 200 | vcc_core = NULL; |
200 | } else { | 201 | } else { |
201 | pr_info("cpufreq: Found vcc_core regulator\n"); | 202 | pr_info("Found vcc_core regulator\n"); |
202 | } | 203 | } |
203 | } | 204 | } |
204 | #else | 205 | #else |
@@ -407,7 +408,7 @@ static int pxa_cpufreq_init(struct cpufreq_policy *policy) | |||
407 | */ | 408 | */ |
408 | if (cpu_is_pxa25x()) { | 409 | if (cpu_is_pxa25x()) { |
409 | find_freq_tables(&pxa255_freq_table, &pxa255_freqs); | 410 | find_freq_tables(&pxa255_freq_table, &pxa255_freqs); |
410 | pr_info("PXA255 cpufreq using %s frequency table\n", | 411 | pr_info("using %s frequency table\n", |
411 | pxa255_turbo_table ? "turbo" : "run"); | 412 | pxa255_turbo_table ? "turbo" : "run"); |
412 | 413 | ||
413 | cpufreq_table_validate_and_show(policy, pxa255_freq_table); | 414 | cpufreq_table_validate_and_show(policy, pxa255_freq_table); |
@@ -416,7 +417,7 @@ static int pxa_cpufreq_init(struct cpufreq_policy *policy) | |||
416 | cpufreq_table_validate_and_show(policy, pxa27x_freq_table); | 417 | cpufreq_table_validate_and_show(policy, pxa27x_freq_table); |
417 | } | 418 | } |
418 | 419 | ||
419 | pr_info("PXA CPU frequency change support initialized\n"); | 420 | pr_info("frequency change support initialized\n"); |
420 | 421 | ||
421 | return 0; | 422 | return 0; |
422 | } | 423 | } |