PM: Remove sysdev suspend, resume and shutdown operations
authorRafael J. Wysocki <rjw@sisk.pl>
Tue, 26 Apr 2011 17:15:07 +0000 (19:15 +0200)
committerRafael J. Wysocki <rjw@sisk.pl>
Wed, 11 May 2011 19:37:15 +0000 (21:37 +0200)
commit2e711c04dbbf7a7732a3f7073b1fc285d12b369d
treedbc06a3fff744144d7937a205a91fd8ce71585d4
parentf5a592f7d74e38c5007876c731e6bf5580072e63
PM: Remove sysdev suspend, resume and shutdown operations

Since suspend, resume and shutdown operations in struct sysdev_class
and struct sysdev_driver are not used any more, remove them.  Also
drop sysdev_suspend(), sysdev_resume() and sysdev_shutdown() used
for executing those operations and modify all of their users
accordingly.  This reduces kernel code size quite a bit and reduces
its complexity.

Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Acked-by: Greg Kroah-Hartman <gregkh@suse.de>
14 files changed:
arch/sh/Kconfig
arch/x86/Kconfig
arch/x86/kernel/apm_32.c
drivers/base/Kconfig
drivers/base/base.h
drivers/base/sys.c
drivers/xen/manage.c
include/linux/device.h
include/linux/pm.h
include/linux/sysdev.h
kernel/kexec.c
kernel/power/hibernate.c
kernel/power/suspend.c
kernel/sys.c