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/ia64-acpi-cpufreq.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/ia64-acpi-cpufreq.c')
| -rw-r--r-- | drivers/cpufreq/ia64-acpi-cpufreq.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/cpufreq/ia64-acpi-cpufreq.c b/drivers/cpufreq/ia64-acpi-cpufreq.c index fd36d6cd3787..759612da4fdc 100644 --- a/drivers/cpufreq/ia64-acpi-cpufreq.c +++ b/drivers/cpufreq/ia64-acpi-cpufreq.c @@ -8,6 +8,8 @@ * Venkatesh Pallipadi <[email protected]> */ +#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt + #include <linux/kernel.h> #include <linux/slab.h> #include <linux/module.h> @@ -290,8 +292,7 @@ acpi_cpufreq_cpu_init ( /* notify BIOS that we exist */ acpi_processor_notify_smm(THIS_MODULE); - pr_info("acpi-cpufreq: CPU%u - ACPI performance management activated\n", - cpu); + pr_info("CPU%u - ACPI performance management activated\n", cpu); for (i = 0; i < data->acpi_data.state_count; i++) pr_debug(" %cP%d: %d MHz, %d mW, %d uS, %d uS, 0x%x 0x%x\n", |
