Skip to content

pm: remove late/early platform driver pm callbacks V2

Magnus Damm linux-next linux-omap linux-pm lkml 1 version Applied

Status from this message: Applied to suspend-2.6/linux-next, thanks.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 16 repliesApplied

Changes since V1 from the cover letter

- resolved conflicts in [05/07], rediffed [07/07]
- include lkml, linux-usb and akpm

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/7arm: rework omap suspend_late()/resume_early()arch/arm/plat-omap/debug-leds.c arch/arm/plat-omap/gpio.c+17 -80 replies
2/7dma: rework dw_dmac suspend_late()/resume_early()drivers/dma/dw_dmac.c+10 -50 replies
3/7dma: rework txx9dmac suspend_late()/resume_early()drivers/dma/txx9dmac.c+10 -50 replies
3/7dma: rework txx9dmac suspend_late()/resume_early()drivers/dma/txx9dmac.c+10 -50 replies
4/7i2c: rework i2c-pxa suspend_late()/resume_early()drivers/i2c/busses/i2c-pxa.c+17 -80 replies
4/7i2c: rework i2c-pxa suspend_late()/resume_early()drivers/i2c/busses/i2c-pxa.c+17 -80 replies
5/7i2c: rework i2c-s3c2410 suspend_late()/resume() V2drivers/i2c/busses/i2c-s3c2410.c+16 -90 replies
5/7i2c: rework i2c-s3c2410 suspend_late()/resume() V2drivers/i2c/busses/i2c-s3c2410.c+16 -90 replies
6/7usb: rework musb suspend()/resume_early()drivers/usb/musb/musb_core.c+12 -62 replies
6/7usb: rework musb suspend()/resume_early()drivers/usb/musb/musb_core.c+12 -60 replies
7/7pm: remove platform device suspend_late()/resume_early() V2drivers/base/platform.c include/linux/platform_device.h+0 -380 replies
7/7pm: remove platform device suspend_late()/resume_early() V2drivers/base/platform.c include/linux/platform_device.h+0 -382 replies

Reviews trailers per patch

None of the 12 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchGreg Kroah-Hartman
SeriesA-b A-b
1/7
2/7
3/7
3/7
4/7
4/7
5/7
5/7
6/7
6/7
7/7
7/7

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 00/07] pm: remove late/early platform driver pm callbacks V2

pm: remove late/early platform driver pm callbacks V2

[PATCH 01/07] arm: rework omap suspend_late()/resume_early() [PATCH 02/07] dma: rework dw_dmac suspend_late()/resume_early() [PATCH 03/07] dma: rework txx9dmac suspend_late()/resume_early() [PATCH 04/07] i2c: rework i2c-pxa suspend_late()/resume_early() [PATCH 05/07] i2c: rework i2c-s3c2410 suspend_late()/resume() V2 [PATCH 06/07] usb: rework musb suspend()/resume_early() [PATCH 07/07] pm: remove platform device suspend_late()/resume_early() V2

These patches simply remove ->suspend_late() and ->resume_early() from struct platform_driver. Drivers are converted to dev_pm_ops with CONFIG_SUSPEND in mind. Untested.

All patches except [02/07] are known to compile.

---

Changes since V1:
- resolved conflicts in [05/07], rediffed [07/07]
- include lkml, linux-usb and akpm

 arch/arm/plat-omap/debug-leds.c  |   11 +++++++----
 arch/arm/plat-omap/gpio.c        |   14 ++++++++++----
 drivers/base/platform.c          |   36 ------------------------------------
 drivers/dma/dw_dmac.c            |   15 ++++++++++-----
 drivers/dma/txx9dmac.c           |   15 ++++++++++-----
 drivers/i2c/busses/i2c-pxa.c     |   25 +++++++++++++++++--------
 drivers/i2c/busses/i2c-s3c2410.c |   25 ++++++++++++++++---------
 drivers/usb/musb/musb_core.c     |   18 ++++++++++++------
 include/linux/platform_device.h  |    2 --
 9 files changed, 82 insertions(+), 79 deletions(-)