From: David Brownell Date: Sun, 9 Jul 2006 23:28:28 +0000 (-0700) Subject: make suspend quieter X-Git-Tag: v2.6.19-rc1~1078^2~36 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=8f4bcc20ee39f9c087f3532672e3e5f086e92281;p=linux-2.6-omap-h63xx.git make suspend quieter Fix a goof in Linus' recent PM API updates: don't emit any messages in the typical NOP "already suspended it" late suspend case. Signed-off-by: David Brownell Acked-by: Pavel Machek Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/base/power/suspend.c b/drivers/base/power/suspend.c index 10e8032aee1..0bda4a7f204 100644 --- a/drivers/base/power/suspend.c +++ b/drivers/base/power/suspend.c @@ -102,11 +102,6 @@ static int suspend_device_late(struct device *dev, pm_message_t state) { int error = 0; - if (dev->power.power_state.event) { - dev_dbg(dev, "PM: suspend_late %d-->%d\n", - dev->power.power_state.event, state.event); - } - if (dev->bus && dev->bus->suspend_late && !dev->power.power_state.event) { dev_dbg(dev, "LATE %s%s\n", suspend_verb(state.event),