include/linux/suspend.h: Only show pm_pr_dbg messages at suspend/resume
authorMario Limonciello <mario.limonciello@amd.com>
Fri, 2 Jun 2023 07:30:22 +0000 (02:30 -0500)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 12 Jun 2023 17:56:08 +0000 (19:56 +0200)
commitcdb8c100d8a4b4e31c829724e40b4fdf32977cce
treecfeff728ed34c92a4be5e1a50dc7e54b71d15795
parentab23ed6e73ecd198bf577077677beaded0a9e718
include/linux/suspend.h: Only show pm_pr_dbg messages at suspend/resume

All uses in the kernel are currently already oriented around
suspend/resume. As some other parts of the kernel may also use these
messages in functions that could also be used outside of
suspend/resume, only enable in suspend/resume path.

Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
include/linux/suspend.h
kernel/power/main.c