diff options
author | Joe Perches <joe@perches.com> | 2016-04-05 16:28:25 -0400 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2016-04-08 19:35:18 -0400 |
commit | 1c5864e26c99cf32b51e878f3daf73a388d7561a (patch) | |
tree | 573c01b9df76d0d1ddd7d04955a8171cf08ed31c /drivers/cpufreq/ia64-acpi-cpufreq.c | |
parent | b49c22a6ca3656c68506fea57caf3d8f08878570 (diff) |
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/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 @@ | |||
8 | * Venkatesh Pallipadi <venkatesh.pallipadi@intel.com> | 8 | * Venkatesh Pallipadi <venkatesh.pallipadi@intel.com> |
9 | */ | 9 | */ |
10 | 10 | ||
11 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt | ||
12 | |||
11 | #include <linux/kernel.h> | 13 | #include <linux/kernel.h> |
12 | #include <linux/slab.h> | 14 | #include <linux/slab.h> |
13 | #include <linux/module.h> | 15 | #include <linux/module.h> |
@@ -290,8 +292,7 @@ acpi_cpufreq_cpu_init ( | |||
290 | /* notify BIOS that we exist */ | 292 | /* notify BIOS that we exist */ |
291 | acpi_processor_notify_smm(THIS_MODULE); | 293 | acpi_processor_notify_smm(THIS_MODULE); |
292 | 294 | ||
293 | pr_info("acpi-cpufreq: CPU%u - ACPI performance management activated\n", | 295 | pr_info("CPU%u - ACPI performance management activated\n", cpu); |
294 | cpu); | ||
295 | 296 | ||
296 | for (i = 0; i < data->acpi_data.state_count; i++) | 297 | for (i = 0; i < data->acpi_data.state_count; i++) |
297 | pr_debug(" %cP%d: %d MHz, %d mW, %d uS, %d uS, 0x%x 0x%x\n", | 298 | pr_debug(" %cP%d: %d MHz, %d mW, %d uS, %d uS, 0x%x 0x%x\n", |