Skip to content

Commit 255a04c

Browse files
committed
ACPI: PM: Change pr_fmt() in device_pm.c
All messages printed by functions in this file either contain the "ACPI" or "acpi" string regardless of the format, or they don't need to contain it at all. In the former case, the "ACPI:" string added by the format is redundant, so drop it from there. Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
1 parent 198ee43 commit 255a04c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/acpi/device_pm.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1111
*/
1212

13-
#define pr_fmt(fmt) "ACPI: PM: " fmt
13+
#define pr_fmt(fmt) "PM: " fmt
1414

1515
#include <linux/acpi.h>
1616
#include <linux/export.h>

0 commit comments

Comments
 (0)