PM: Fix warning on suspend errors
authorRomit Dasgupta <romit@ti.com>
Wed, 28 Oct 2009 21:56:02 +0000 (22:56 +0100)
committerRafael J. Wysocki <rjw@sisk.pl>
Tue, 3 Nov 2009 10:03:33 +0000 (11:03 +0100)
commite528e876897217465d5cd7cb28130d8489596e34
tree23426f3bfa55e9cf046087e28bed83d9ce678027
parentbf9fd67a0328d56eff6022f80d4eb88ba6614119
PM: Fix warning on suspend errors

Fixes the point where we need to complete the power transition when
device suspend fails, so that we don't print warnings about devices
added to the device hierarchy after a failing suspend.

[rjw: Modified changelog.]

Signed-off-by: Romit Dasgupta <romit@ti.com>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
drivers/base/power/main.c