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/speedstep-smi.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/speedstep-smi.c')
| -rw-r--r-- | drivers/cpufreq/speedstep-smi.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/cpufreq/speedstep-smi.c b/drivers/cpufreq/speedstep-smi.c index af32a5f38806..770a9ae1999a 100644 --- a/drivers/cpufreq/speedstep-smi.c +++ b/drivers/cpufreq/speedstep-smi.c @@ -12,6 +12,8 @@ * SPEEDSTEP - DEFINITIONS * *********************************************************************/ +#define pr_fmt(fmt) "cpufreq: " fmt + #include <linux/kernel.h> #include <linux/module.h> #include <linux/moduleparam.h> @@ -204,7 +206,7 @@ static void speedstep_set_state(unsigned int state) (speedstep_freqs[new_state].frequency / 1000), retry, result); else - pr_err("cpufreq: change to state %u failed with new_state %u and result %u\n", + pr_err("change to state %u failed with new_state %u and result %u\n", state, new_state, result); return; |
