The following commit has been merged in the linux branch: commit 2ddac2a6a8f13e95664fe7ad1b728ac84fb1bd07 Author: Pavel Machek pavel@ucw.cz Date: Wed Oct 28 22:56:10 2009 +0100
PM: Remove some debug messages producing too much noise
pm_runtime_idle() is somewhat noisy. Remove debug prints.
Signed-off-by: Pavel Machek pavel@ucw.cz Signed-off-by: Rafael J. Wysocki rjw@sisk.pl
diff --git a/drivers/base/power/runtime.c b/drivers/base/power/runtime.c index 38556f6..a770498 100644 --- a/drivers/base/power/runtime.c +++ b/drivers/base/power/runtime.c @@ -51,8 +51,6 @@ static int __pm_runtime_idle(struct device *dev) { int retval = 0;
- dev_dbg(dev, "__pm_runtime_idle()!\n"); - if (dev->power.runtime_error) retval = -EINVAL; else if (dev->power.idle_notification) @@ -93,8 +91,6 @@ static int __pm_runtime_idle(struct device *dev) wake_up_all(&dev->power.wait_queue);
out: - dev_dbg(dev, "__pm_runtime_idle() returns %d!\n", retval); - return retval; }