diff options
author | David Brownell <david-b@pacbell.net> | 2006-07-09 19:28:28 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-09-26 00:08:37 -0400 |
commit | 8f4bcc20ee39f9c087f3532672e3e5f086e92281 (patch) | |
tree | e434a96da282e904bf6e4ab8d17c044369a0b2f5 | |
parent | cbd69dbbf1adfce6e048f15afc8629901ca9dae5 (diff) |
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>
-rw-r--r-- | drivers/base/power/suspend.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/base/power/suspend.c b/drivers/base/power/suspend.c index 10e8032aee1a..0bda4a7f2042 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) | |||
102 | { | 102 | { |
103 | int error = 0; | 103 | int error = 0; |
104 | 104 | ||
105 | if (dev->power.power_state.event) { | ||
106 | dev_dbg(dev, "PM: suspend_late %d-->%d\n", | ||
107 | dev->power.power_state.event, state.event); | ||
108 | } | ||
109 | |||
110 | if (dev->bus && dev->bus->suspend_late && !dev->power.power_state.event) { | 105 | if (dev->bus && dev->bus->suspend_late && !dev->power.power_state.event) { |
111 | dev_dbg(dev, "LATE %s%s\n", | 106 | dev_dbg(dev, "LATE %s%s\n", |
112 | suspend_verb(state.event), | 107 | suspend_verb(state.event), |