aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/cpufreq/s3c2440-cpufreq.c
diff options
context:
space:
mode:
authorJoe Perches <[email protected]>2016-04-05 20:28:25 +0000
committerRafael J. Wysocki <[email protected]>2016-04-08 23:35:18 +0000
commit1c5864e26c99cf32b51e878f3daf73a388d7561a (patch)
tree573c01b9df76d0d1ddd7d04955a8171cf08ed31c /drivers/cpufreq/s3c2440-cpufreq.c
parentcpufreq: Convert printk(KERN_<LEVEL> to pr_<level> (diff)
downloadkernel-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/s3c2440-cpufreq.c')
-rw-r--r--drivers/cpufreq/s3c2440-cpufreq.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/cpufreq/s3c2440-cpufreq.c b/drivers/cpufreq/s3c2440-cpufreq.c
index f6cefe34e411..d0d75b65ddd6 100644
--- a/drivers/cpufreq/s3c2440-cpufreq.c
+++ b/drivers/cpufreq/s3c2440-cpufreq.c
@@ -11,6 +11,8 @@
* published by the Free Software Foundation.
*/
+#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
+
#include <linux/init.h>
#include <linux/module.h>
#include <linux/interrupt.h>