diff options
author | Joe Perches <joe@perches.com> | 2016-04-05 22:28:25 +0200 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2016-04-09 01:35:18 +0200 |
commit | 1c5864e26c99cf32b51e878f3daf73a388d7561a (patch) | |
tree | 573c01b9df76d0d1ddd7d04955a8171cf08ed31c /drivers/cpufreq/elanfreq.c | |
parent | cpufreq: Convert printk(KERN_<LEVEL> to pr_<level> (diff) | |
download | linux-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/elanfreq.c')
-rw-r--r-- | drivers/cpufreq/elanfreq.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/cpufreq/elanfreq.c b/drivers/cpufreq/elanfreq.c index 8f4dded3016f..bfce11cba1df 100644 --- a/drivers/cpufreq/elanfreq.c +++ b/drivers/cpufreq/elanfreq.c @@ -16,6 +16,8 @@ * */ +#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt + #include <linux/kernel.h> #include <linux/module.h> #include <linux/init.h> |