]> asedeno.scripts.mit.edu Git - linux.git/commit
PM / wakeup: Use pm_pr_dbg() instead of pr_debug()
authorStephen Boyd <swboyd@chromium.org>
Mon, 25 Mar 2019 17:24:56 +0000 (10:24 -0700)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 1 Apr 2019 21:54:47 +0000 (23:54 +0200)
commit74a1dd86d1739eae2015a3832f62c1d6546893a7
tree283f987311ea927784a5402ce0b3e76df42e4c21
parent79a3aaa7b82e3106be97842dedfd8429248896e6
PM / wakeup: Use pm_pr_dbg() instead of pr_debug()

These prints are useful if we're doing PM suspend debugging. Having them
at pr_debug() level means that we need to either enable DEBUG in this
file, or compile the kernel with dynamic debug capabilities. Both of
these options have drawbacks like custom compilation or opting into all
debug statements being included into the kernel image. Given that we
already have infrastructure to collect PM debugging information with
CONFIG_PM_DEBUG and friends, let's change the pr_debug usage here to be
pm_pr_dbg() instead so we can collect the wakeup information in the
kernel logs.

Signed-off-by: Stephen Boyd <swboyd@chromium.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/base/power/wakeup.c