Commit 3eb68d24 authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman

Minor coding style fixups in resume code and added a bit of debugging help.

Signed-off-by: default avatarGreg Kroah-Hartman <greg@kroah.com>
parent 5ca5b409
...@@ -12,12 +12,11 @@ ...@@ -12,12 +12,11 @@
static void runtime_resume(struct device * dev) static void runtime_resume(struct device * dev)
{ {
dev_dbg(dev, "resuming\n");
if (!dev->power.power_state) if (!dev->power.power_state)
return; return;
if (! resume_device(dev)) if (!resume_device(dev))
dev->power.power_state = 0; dev->power.power_state = 0;
return;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment