diff options
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2022-04-04 17:02:00 +0200 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2022-04-13 17:23:39 +0200 |
commit | 255a04cc457e57c1b429c2a5c0f4d7604b1ef41b (patch) | |
tree | d146dc1bfdce4772542abc8e683f0ea0d762460a /drivers/acpi/device_pm.c | |
parent | ACPI: PM: Convert debug message in acpi_device_get_power() (diff) | |
download | linux-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.c | 2 |
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> |