PM / sleep: Print timing information if debug is enabled
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 12 Jun 2017 20:51:55 +0000 (22:51 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 14 Jun 2017 22:55:43 +0000 (00:55 +0200)
commit604d895857c2fc6748feb805c2290a60491eed43
tree2ebcdd7c2029b13e67a576980a97e0c87638a193
parent235d81a630ca2d39818da96f0c14bc960ffbaeb5
PM / sleep: Print timing information if debug is enabled

Avoid printing the device suspend/resume timing information if
CONFIG_PM_DEBUG is not set to reduce the log noise level.

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/base/power/main.c