summaryrefslogtreecommitdiffstats
path: root/drivers/acpi/device_pm.c
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2022-04-04 17:02:00 +0200
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2022-04-13 17:23:39 +0200
commit255a04cc457e57c1b429c2a5c0f4d7604b1ef41b (patch)
treed146dc1bfdce4772542abc8e683f0ea0d762460a /drivers/acpi/device_pm.c
parentACPI: PM: Convert debug message in acpi_device_get_power() (diff)
downloadlinux-255a04cc457e57c1b429c2a5c0f4d7604b1ef41b.tar.xz
linux-255a04cc457e57c1b429c2a5c0f4d7604b1ef41b.zip
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>
Diffstat (limited to 'drivers/acpi/device_pm.c')
-rw-r--r--drivers/acpi/device_pm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/acpi/device_pm.c b/drivers/acpi/device_pm.c
index 0bab27523415..f1052f449120 100644
--- a/drivers/acpi/device_pm.c
+++ b/drivers/acpi/device_pm.c
@@ -10,7 +10,7 @@
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
*/
-#define pr_fmt(fmt) "ACPI: PM: " fmt
+#define pr_fmt(fmt) "PM: " fmt
#include <linux/acpi.h>
#include <linux/export.h>