aboutsummaryrefslogtreecommitdiff
path: root/drivers/base/power
diff options
context:
space:
mode:
authorPavel Machek <pavel@ucw.cz>2008-02-21 13:58:10 +0100
committerGreg Kroah-Hartman <gregkh@suse.de>2008-04-19 19:10:23 -0700
commit35d313b8744dc64c31b9cfcdb083112937643b45 (patch)
treea991c16469ca5cbbf044f99a878092de434c6974 /drivers/base/power
parent0c81eed4b9d6273124c7ab5eb99760b4d3a3cb9e (diff)
power_state: remove it from driver core
power_state is scheduled for removal, and it is used only for debug prints by driver core. Remove it. Signed-off-by: Pavel Machek <pavel@suse.cz> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/base/power')
-rw-r--r--drivers/base/power/main.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/base/power/main.c b/drivers/base/power/main.c
index d887d5cb5be..26de2c0fda8 100644
--- a/drivers/base/power/main.c
+++ b/drivers/base/power/main.c
@@ -377,11 +377,6 @@ static int suspend_device(struct device *dev, pm_message_t state)
down(&dev->sem);
- if (dev->power.power_state.event) {
- dev_dbg(dev, "PM: suspend %d-->%d\n",
- dev->power.power_state.event, state.event);
- }
-
if (dev->class && dev->class->suspend) {
suspend_device_dbg(dev, state, "class ");
error = dev->class->suspend(dev, state);