On 27 July 2016 at 13:31, Ulf Hansson <ulf.hansson@xxxxxxxxxx> wrote: > 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 > I decided to queue up this for next, as most of these are rather trivial changes and to get it tested in next. Feel free to add acks/reviewed-by, or tell me to drop these changes! Kind regards Uffe -- To unsubscribe from this list: send the line "unsubscribe linux-mmc" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html