summaryrefslogtreecommitdiffstats
path: root/drivers/base
diff options
context:
space:
mode:
authorDavid Brownell <david-b@pacbell.net>2006-07-09 16:28:28 -0700
committerGreg Kroah-Hartman <gregkh@suse.de>2006-09-25 21:08:37 -0700
commit8f4bcc20ee39f9c087f3532672e3e5f086e92281 (patch)
treee434a96da282e904bf6e4ab8d17c044369a0b2f5 /drivers/base
parentcbd69dbbf1adfce6e048f15afc8629901ca9dae5 (diff)
downloadop-kernel-dev-8f4bcc20ee39f9c087f3532672e3e5f086e92281.zip
op-kernel-dev-8f4bcc20ee39f9c087f3532672e3e5f086e92281.tar.gz
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 <dbrownell@users.sourceforge.net> Acked-by: Pavel Machek <pavel@ucw.cz> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/base')
-rw-r--r--drivers/base/power/suspend.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/base/power/suspend.c b/drivers/base/power/suspend.c
index 10e8032..0bda4a7 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),
OpenPOWER on IntegriCloud