summaryrefslogtreecommitdiffstats
path: root/drivers/cpufreq/s3c2440-cpufreq.c
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2016-04-05 22:28:25 +0200
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2016-04-09 01:35:18 +0200
commit1c5864e26c99cf32b51e878f3daf73a388d7561a (patch)
tree573c01b9df76d0d1ddd7d04955a8171cf08ed31c /drivers/cpufreq/s3c2440-cpufreq.c
parentcpufreq: Convert printk(KERN_<LEVEL> to pr_<level> (diff)
downloadlinux-1c5864e26c99cf32b51e878f3daf73a388d7561a.tar.xz
linux-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 <joe@perches.com> Acked-by: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
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>