aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKurt Borja <[email protected]>2025-01-16 00:27:21 +0000
committerIlpo Järvinen <[email protected]>2025-01-17 17:16:59 +0000
commit0025d83a3c201d0f1cda1085a3847591af563ec2 (patch)
tree72ac81e1f36070f3954feb02f813f567fdef1f42
parentACPI: platform_profile: Add documentation (diff)
downloadkernel-0025d83a3c201d0f1cda1085a3847591af563ec2.tar.gz
kernel-0025d83a3c201d0f1cda1085a3847591af563ec2.zip
ACPI: platform_profile: Add a prefix to log messages
Declare a pr_fmt prefix. Reviewed-by: Mario Limonciello <[email protected]> Signed-off-by: Kurt Borja <[email protected]> Reviewed-by: Mark Pearson <[email protected]> Tested-by: Mark Pearson <[email protected]> Link: https://lore.kernel.org/r/[email protected] Reviewed-by: Ilpo Järvinen <[email protected]> Signed-off-by: Ilpo Järvinen <[email protected]>
-rw-r--r--drivers/acpi/platform_profile.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/acpi/platform_profile.c b/drivers/acpi/platform_profile.c
index 49af808153a7..fc92e43d0fe9 100644
--- a/drivers/acpi/platform_profile.c
+++ b/drivers/acpi/platform_profile.c
@@ -2,6 +2,8 @@
/* Platform profile sysfs interface */
+#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
+
#include <linux/acpi.h>
#include <linux/bits.h>
#include <linux/cleanup.h>