diff options
author | Stephen Boyd <swboyd@chromium.org> | 2019-03-25 10:24:56 -0700 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2019-04-01 23:54:47 +0200 |
commit | 74a1dd86d1739eae2015a3832f62c1d6546893a7 (patch) | |
tree | 283f987311ea927784a5402ce0b3e76df42e4c21 /kernel/power | |
parent | 79a3aaa7b82e3106be97842dedfd8429248896e6 (diff) | |
download | linux-74a1dd86d1739eae2015a3832f62c1d6546893a7.tar.bz2 |
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>
Diffstat (limited to 'kernel/power')
0 files changed, 0 insertions, 0 deletions