diff options
| author | Joe Perches <[email protected]> | 2016-04-05 20:28:25 +0000 |
|---|---|---|
| committer | Rafael J. Wysocki <[email protected]> | 2016-04-08 23:35:18 +0000 |
| commit | 1c5864e26c99cf32b51e878f3daf73a388d7561a (patch) | |
| tree | 573c01b9df76d0d1ddd7d04955a8171cf08ed31c /drivers/cpufreq/s5pv210-cpufreq.c | |
| parent | cpufreq: Convert printk(KERN_<LEVEL> to pr_<level> (diff) | |
| download | kernel-1c5864e26c99cf32b51e878f3daf73a388d7561a.tar.gz kernel-1c5864e26c99cf32b51e878f3daf73a388d7561a.zip | |
cpufreq: Use consistent prefixing via pr_fmt
Use the more common kernel style adding a define for pr_fmt.
Miscellanea:
o Remove now unused PFX defines
Signed-off-by: Joe Perches <[email protected]>
Acked-by: Viresh Kumar <[email protected]>
Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'drivers/cpufreq/s5pv210-cpufreq.c')
| -rw-r--r-- | drivers/cpufreq/s5pv210-cpufreq.c | 6 |
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 @@ * published by the Free Software Foundation. */ +#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt + #include <linux/types.h> #include <linux/kernel.h> #include <linux/init.h> @@ -635,13 +637,13 @@ static int s5pv210_cpufreq_probe(struct platform_device *pdev) arm_regulator = regulator_get(NULL, "vddarm"); if (IS_ERR(arm_regulator)) { - pr_err("failed to get regulator vddarm"); + pr_err("failed to get regulator vddarm\n"); return PTR_ERR(arm_regulator); } int_regulator = regulator_get(NULL, "vddint"); if (IS_ERR(int_regulator)) { - pr_err("failed to get regulator vddint"); + pr_err("failed to get regulator vddint\n"); regulator_put(arm_regulator); return PTR_ERR(int_regulator); } |
