linux-mmc.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 00/11] mmc: sdhci: Cleanup assignment/definition of PM ops
@ 2016-07-27 11:31 Ulf Hansson
  2016-07-27 11:31 ` [PATCH 01/11] mmc: sdhci-pci-core: Simplify code by using SET_SYSTEM_SLEEP_PM_OPS Ulf Hansson
                   ` (11 more replies)
  0 siblings, 12 replies; 16+ messages in thread
From: Ulf Hansson @ 2016-07-27 11:31 UTC (permalink / raw)
  To: linux-mmc, Ulf Hansson, Adrian Hunter; +Cc: Arnd Bergmann

The code in various sdhci drivers can be cleaned up in regards how PM ops is
being defined and assigned. This series attempts to clean up this code.

In the end we want system PM sleep callbacks to be defined within #ifdef
CONFIG_PM_SLEEP and not as currently within CONFIG_PM.

Ulf Hansson (11):
  mmc: sdhci-pci-core: Simplify code by using SET_SYSTEM_SLEEP_PM_OPS
  mmc: sdhci-acpi: Simplify code by using SET_SYSTEM_SLEEP_PM_OPS
  mmc: sdhci-of-esdhc: Simplify code by using SIMPLE_DEV_PM_OPS
  mmc: sdhci-pxav3: Remove non needed #ifdef CONFIG_PM for dev_pm_ops
  mmc: sdhci-s3c: Remove non needed #ifdef CONFIG_PM for dev_pm_ops
  mmc: sdhci-sirf: Remove non needed #ifdef CONFIG_PM* for dev_pm_ops
  mmc: sdhci-esdhc-imx: Assign system PM ops within #ifdef
    CONFIG_PM_SLEEP
  mmc: sdhci-esdhc-imx: Use common sdhci_suspend|resume_host()
  mmc: sdhci-pltfm: Make sdhci_pltfm_suspend|resume() static
  mmc: sdhci-pltfm: Convert to use the SET_SYSTEM_SLEEP_PM_OPS
  mmc: sdhci-pltfm: Drop define for SDHCI_PLTFM_PMOPS

 drivers/mmc/host/sdhci-acpi.c      |  8 +-------
 drivers/mmc/host/sdhci-bcm-kona.c  |  2 +-
 drivers/mmc/host/sdhci-cns3xxx.c   |  2 +-
 drivers/mmc/host/sdhci-dove.c      |  2 +-
 drivers/mmc/host/sdhci-esdhc-imx.c | 10 +++++++---
 drivers/mmc/host/sdhci-iproc.c     |  2 +-
 drivers/mmc/host/sdhci-of-esdhc.c  | 16 ++++++----------
 drivers/mmc/host/sdhci-of-hlwd.c   |  2 +-
 drivers/mmc/host/sdhci-pci-core.c  | 16 +++++-----------
 drivers/mmc/host/sdhci-pltfm.c     | 13 +++++--------
 drivers/mmc/host/sdhci-pltfm.h     |  7 -------
 drivers/mmc/host/sdhci-pxav2.c     |  2 +-
 drivers/mmc/host/sdhci-pxav3.c     |  9 +--------
 drivers/mmc/host/sdhci-s3c.c       |  9 +--------
 drivers/mmc/host/sdhci-sirf.c      |  4 +---
 drivers/mmc/host/sdhci-tegra.c     |  2 +-
 drivers/mmc/host/sdhci_f_sdh30.c   |  2 +-
 17 files changed, 35 insertions(+), 73 deletions(-)

-- 
1.9.1


^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2016-07-29  8:47 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-07-27 11:31 [PATCH 00/11] mmc: sdhci: Cleanup assignment/definition of PM ops Ulf Hansson
2016-07-27 11:31 ` [PATCH 01/11] mmc: sdhci-pci-core: Simplify code by using SET_SYSTEM_SLEEP_PM_OPS Ulf Hansson
2016-07-27 11:31 ` [PATCH 02/11] mmc: sdhci-acpi: " Ulf Hansson
2016-07-27 11:31 ` [PATCH 03/11] mmc: sdhci-of-esdhc: Simplify code by using SIMPLE_DEV_PM_OPS Ulf Hansson
2016-07-27 11:32 ` [PATCH 04/11] mmc: sdhci-pxav3: Remove non needed #ifdef CONFIG_PM for dev_pm_ops Ulf Hansson
2016-07-27 11:32 ` [PATCH 05/11] mmc: sdhci-s3c: " Ulf Hansson
2016-07-27 11:32 ` [PATCH 06/11] mmc: sdhci-sirf: Remove non needed #ifdef CONFIG_PM* " Ulf Hansson
2016-07-27 11:32 ` [PATCH 07/11] mmc: sdhci-esdhc-imx: Assign system PM ops within #ifdef CONFIG_PM_SLEEP Ulf Hansson
2016-07-29  8:38   ` Dong Aisheng
2016-07-27 11:32 ` [PATCH 08/11] mmc: sdhci-esdhc-imx: Use common sdhci_suspend|resume_host() Ulf Hansson
2016-07-29  8:39   ` Dong Aisheng
2016-07-27 11:32 ` [PATCH 09/11] mmc: sdhci-pltfm: Make sdhci_pltfm_suspend|resume() static Ulf Hansson
2016-07-27 11:32 ` [PATCH 10/11] mmc: sdhci-pltfm: Convert to use the SET_SYSTEM_SLEEP_PM_OPS Ulf Hansson
2016-07-27 11:32 ` [PATCH 11/11] mmc: sdhci-pltfm: Drop define for SDHCI_PLTFM_PMOPS Ulf Hansson
2016-07-27 12:50 ` [PATCH 00/11] mmc: sdhci: Cleanup assignment/definition of PM ops Ulf Hansson
2016-07-28 10:27   ` Jaehoon Chung

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).