summaryrefslogtreecommitdiffstats
path: root/drivers/cpufreq/s3c24xx-cpufreq-debugfs.c
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2016-04-28 15:19:31 +0200
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2016-04-28 15:19:31 +0200
commit29c5e7b2bc875c4ad5d3fd9e3c4ed2702e705bba (patch)
treed3586c1f6a89150fcf24702b24aa21dcd7745f7b /drivers/cpufreq/s3c24xx-cpufreq-debugfs.c
parentPM / OPP: Add dev_pm_opp_get_sharing_cpus() (diff)
parentcpufreq: governor: Change confusing struct field and variable names (diff)
downloadlinux-29c5e7b2bc875c4ad5d3fd9e3c4ed2702e705bba.tar.xz
linux-29c5e7b2bc875c4ad5d3fd9e3c4ed2702e705bba.zip
Merge back earlier cpufreq material for v4.7.
Diffstat (limited to 'drivers/cpufreq/s3c24xx-cpufreq-debugfs.c')
-rw-r--r--drivers/cpufreq/s3c24xx-cpufreq-debugfs.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/cpufreq/s3c24xx-cpufreq-debugfs.c b/drivers/cpufreq/s3c24xx-cpufreq-debugfs.c
index 9b7b4289d66c..4d976e8dbb2f 100644
--- a/drivers/cpufreq/s3c24xx-cpufreq-debugfs.c
+++ b/drivers/cpufreq/s3c24xx-cpufreq-debugfs.c
@@ -10,6 +10,8 @@
* published by the Free Software Foundation.
*/
+#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
+
#include <linux/init.h>
#include <linux/export.h>
#include <linux/interrupt.h>
@@ -178,7 +180,7 @@ static int __init s3c_freq_debugfs_init(void)
{
dbgfs_root = debugfs_create_dir("s3c-cpufreq", NULL);
if (IS_ERR(dbgfs_root)) {
- printk(KERN_ERR "%s: error creating debugfs root\n", __func__);
+ pr_err("%s: error creating debugfs root\n", __func__);
return PTR_ERR(dbgfs_root);
}