PM / Sleep: Simplify device_suspend_noirq()
authorRafael J. Wysocki <rjw@sisk.pl>
Mon, 21 Nov 2011 22:33:55 +0000 (23:33 +0100)
committerRafael J. Wysocki <rjw@sisk.pl>
Wed, 23 Nov 2011 20:13:34 +0000 (21:13 +0100)
commit64e94aafb6a5c4f419e9b8f93950914b5ac162a9
treeafecaed56199e369ec627e75813ccb7012dccbfd
parentd74e278aaf3b0fe4b02af67055aa71babcc0cebe
PM / Sleep: Simplify device_suspend_noirq()

Remove a few if () and return statements in device_suspend_noirq()
that aren't really necessary.

Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Reviewed-by: Srivatsa S. Bhat <srivatsa.bhat@linux.vnet.ibm.com>
drivers/base/power/main.c