aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'drivers')
-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 d887d5cb5bef..26de2c0fda80 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)
377 377
378 down(&dev->sem); 378 down(&dev->sem);
379 379
380 if (dev->power.power_state.event) {
381 dev_dbg(dev, "PM: suspend %d-->%d\n",
382 dev->power.power_state.event, state.event);
383 }
384
385 if (dev->class && dev->class->suspend) { 380 if (dev->class && dev->class->suspend) {
386 suspend_device_dbg(dev, state, "class "); 381 suspend_device_dbg(dev, state, "class ");
387 error = dev->class->suspend(dev, state); 382 error = dev->class->suspend(dev, state);