From: Rafael J. Wysocki Date: Mon, 4 Apr 2022 15:02:00 +0000 (+0200) Subject: ACPI: PM: Change pr_fmt() in device_pm.c X-Git-Tag: v5.19-rc1~183^2~1^2~3 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=255a04cc457e57c1b429c2a5c0f4d7604b1ef41b;p=thirdparty%2Fkernel%2Flinux.git 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 --- diff --git a/drivers/acpi/device_pm.c b/drivers/acpi/device_pm.c index 0bab27523415f..f1052f4491205 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 #include