summaryrefslogtreecommitdiffstats
path: root/drivers/cpufreq/s5pv210-cpufreq.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/cpufreq/s5pv210-cpufreq.c')
-rw-r--r--drivers/cpufreq/s5pv210-cpufreq.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/cpufreq/s5pv210-cpufreq.c b/drivers/cpufreq/s5pv210-cpufreq.c
index 344e584412ed..06d85917b6d5 100644
--- a/drivers/cpufreq/s5pv210-cpufreq.c
+++ b/drivers/cpufreq/s5pv210-cpufreq.c
@@ -9,6 +9,8 @@
9 * published by the Free Software Foundation. 9 * published by the Free Software Foundation.
10*/ 10*/
11 11
12#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
13
12#include <linux/types.h> 14#include <linux/types.h>
13#include <linux/kernel.h> 15#include <linux/kernel.h>
14#include <linux/init.h> 16#include <linux/init.h>
@@ -635,13 +637,13 @@ static int s5pv210_cpufreq_probe(struct platform_device *pdev)
635 637
636 arm_regulator = regulator_get(NULL, "vddarm"); 638 arm_regulator = regulator_get(NULL, "vddarm");
637 if (IS_ERR(arm_regulator)) { 639 if (IS_ERR(arm_regulator)) {
638 pr_err("failed to get regulator vddarm"); 640 pr_err("failed to get regulator vddarm\n");
639 return PTR_ERR(arm_regulator); 641 return PTR_ERR(arm_regulator);
640 } 642 }
641 643
642 int_regulator = regulator_get(NULL, "vddint"); 644 int_regulator = regulator_get(NULL, "vddint");
643 if (IS_ERR(int_regulator)) { 645 if (IS_ERR(int_regulator)) {
644 pr_err("failed to get regulator vddint"); 646 pr_err("failed to get regulator vddint\n");
645 regulator_put(arm_regulator); 647 regulator_put(arm_regulator);
646 return PTR_ERR(int_regulator); 648 return PTR_ERR(int_regulator);
647 } 649 }