]> err.no Git - linux-2.6/commit
[PATCH] DRIVER MODEL: Get rid of the obsolete tri-level suspend/resume callbacks
authorRussell King <rmk@arm.linux.org.uk>
Fri, 28 Oct 2005 16:52:56 +0000 (09:52 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 28 Oct 2005 16:52:56 +0000 (09:52 -0700)
commit9480e307cd88ef09ec9294c7d97ebec18e6d2221
tree967e26d3a23c24dd52b114d672312c207714308c
parenta3a3395e487abc4c1371fe319a8ecbb3913a70a4
[PATCH] DRIVER MODEL: Get rid of the obsolete tri-level suspend/resume callbacks

In PM v1, all devices were called at SUSPEND_DISABLE level.  Then
all devices were called at SUSPEND_SAVE_STATE level, and finally
SUSPEND_POWER_DOWN level.  However, with PM v2, to maintain
compatibility for platform devices, I arranged for the PM v2
suspend/resume callbacks to call the old PM v1 suspend/resume
callbacks three times with each level in order so that existing
drivers continued to work.

Since this is obsolete infrastructure which is no longer necessary,
we can remove it.  Here's an (untested) patch to do exactly that.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
66 files changed:
Documentation/driver-model/driver.txt
arch/arm/common/locomo.c
arch/arm/common/sa1111.c
arch/arm/common/scoop.c
arch/arm/mach-pxa/corgi_ssp.c
arch/arm/mach-sa1100/neponset.c
drivers/base/platform.c
drivers/char/s3c2410-rtc.c
drivers/char/sonypi.c
drivers/char/watchdog/s3c2410_wdt.c
drivers/hwmon/hdaps.c
drivers/i2c/busses/i2c-s3c2410.c
drivers/i2c/i2c-core.c
drivers/ieee1394/nodemgr.c
drivers/input/keyboard/corgikbd.c
drivers/input/keyboard/spitzkbd.c
drivers/input/serio/i8042.c
drivers/input/touchscreen/corgi_ts.c
drivers/media/video/msp3400.c
drivers/media/video/tda9887.c
drivers/media/video/tuner-core.c
drivers/mfd/mcp-sa11x0.c
drivers/mmc/pxamci.c
drivers/mmc/wbsd.c
drivers/mtd/maps/sa1100-flash.c
drivers/net/dm9000.c
drivers/net/irda/sa1100_ir.c
drivers/net/irda/smsc-ircc2.c
drivers/net/phy/mdio_bus.c
drivers/net/smc91x.c
drivers/pci/pcie/portdrv_core.c
drivers/pcmcia/au1000_generic.c
drivers/pcmcia/hd64465_ss.c
drivers/pcmcia/i82365.c
drivers/pcmcia/m32r_cfc.c
drivers/pcmcia/m32r_pcc.c
drivers/pcmcia/omap_cf.c
drivers/pcmcia/pxa2xx_base.c
drivers/pcmcia/sa1100_generic.c
drivers/pcmcia/tcic.c
drivers/pcmcia/vrc4171_card.c
drivers/serial/8250.c
drivers/serial/imx.c
drivers/serial/mpc52xx_uart.c
drivers/serial/pxa.c
drivers/serial/s3c2410.c
drivers/serial/sa1100.c
drivers/serial/vr41xx_siu.c
drivers/usb/gadget/dummy_hcd.c
drivers/usb/gadget/omap_udc.c
drivers/usb/gadget/pxa2xx_udc.c
drivers/usb/host/isp116x-hcd.c
drivers/usb/host/ohci-omap.c
drivers/usb/host/ohci-pxa27x.c
drivers/usb/host/sl811-hcd.c
drivers/video/backlight/corgi_bl.c
drivers/video/imxfb.c
drivers/video/pxafb.c
drivers/video/s1d13xxxfb.c
drivers/video/s3c2410fb.c
drivers/video/sa1100fb.c
drivers/video/w100fb.c
include/linux/device.h
sound/arm/pxa2xx-ac97.c
sound/core/init.c
sound/pci/ac97/ac97_bus.c