diff options
Diffstat (limited to 'drivers/base/power/suspend.c')
-rw-r--r-- | drivers/base/power/suspend.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/base/power/suspend.c b/drivers/base/power/suspend.c index af2cedfbc1b4..5178b0fbd82e 100644 --- a/drivers/base/power/suspend.c +++ b/drivers/base/power/suspend.c | |||
@@ -71,8 +71,6 @@ int suspend_device(struct device * dev, pm_message_t state) | |||
71 | dev->parent->power.power_state.event); | 71 | dev->parent->power.power_state.event); |
72 | } | 72 | } |
73 | 73 | ||
74 | dev->power.prev_state = dev->power.power_state; | ||
75 | |||
76 | if (dev->class && dev->class->suspend && !dev->power.power_state.event) { | 74 | if (dev->class && dev->class->suspend && !dev->power.power_state.event) { |
77 | suspend_device_dbg(dev, state, "class "); | 75 | suspend_device_dbg(dev, state, "class "); |
78 | error = dev->class->suspend(dev, state); | 76 | error = dev->class->suspend(dev, state); |