PM: Split up sysdev_[suspend|resume] from device_power_[down|up]
authorRafael J. Wysocki <rjw@sisk.pl>
Sun, 22 Feb 2009 17:38:50 +0000 (18:38 +0100)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sun, 22 Feb 2009 18:33:44 +0000 (10:33 -0800)
commit770824bdc421ff58a64db608294323571c949f4c
tree2fbeef604fe982bf322249a53a95dd2ff851d5f4
parent936577c61d0c10b8929608a92c98d839b22053bc
PM: Split up sysdev_[suspend|resume] from device_power_[down|up]

Move the sysdev_suspend/resume from the callee to the callers, with
no real change in semantics, so that we can rework the disabling of
interrupts during suspend/hibernation.

This is based on an earlier patch from Linus.

Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/x86/kernel/apm_32.c
drivers/base/base.h
drivers/base/power/main.c
drivers/xen/manage.c
include/linux/pm.h
kernel/kexec.c
kernel/power/disk.c
kernel/power/main.c