mmc: remove the "state" argument to mmc_suspend_host()
authorMatt Fleming <[email protected]>
Wed, 26 May 2010 21:42:08 +0000 (14:42 -0700)
committerLinus Torvalds <[email protected]>
Thu, 27 May 2010 16:12:40 +0000 (09:12 -0700)
commit1a13f8fa76c880be41d6b1e6a2b44404bcbfdf9e
tree3b4239740ca22d19780d05da92cdd203828ea17f
parenta791daa15305e7e549a418ef0ae6bc4b4580066e
mmc: remove the "state" argument to mmc_suspend_host()

Even though many mmc host drivers pass a pm_message_t argument to
mmc_suspend_host() that argument isn't used the by MMC core.  As host
drivers are converted to dev_pm_ops they'll have to construct
pm_message_t's (as they won't be passed by the PM subsystem any more) just
to appease the mmc suspend interface.

We might as well just delete the unused paramter.

Signed-off-by: Matt Fleming <[email protected]>
Acked-by: Anton Vorontsov <[email protected]>
Acked-by: Michal Miroslaw <[email protected]>ZZ
Acked-by: Sascha Sommer <[email protected]>
Cc: <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
23 files changed:
drivers/mmc/core/core.c
drivers/mmc/host/at91_mci.c
drivers/mmc/host/au1xmmc.c
drivers/mmc/host/bfin_sdh.c
drivers/mmc/host/cb710-mmc.c
drivers/mmc/host/davinci_mmc.c
drivers/mmc/host/imxmmc.c
drivers/mmc/host/mmci.c
drivers/mmc/host/msm_sdcc.c
drivers/mmc/host/mvsdio.c
drivers/mmc/host/mxcmmc.c
drivers/mmc/host/omap.c
drivers/mmc/host/omap_hsmmc.c
drivers/mmc/host/pxamci.c
drivers/mmc/host/s3cmci.c
drivers/mmc/host/sdhci-of-core.c
drivers/mmc/host/sdhci.c
drivers/mmc/host/sdricoh_cs.c
drivers/mmc/host/tifm_sd.c
drivers/mmc/host/tmio_mmc.c
drivers/mmc/host/via-sdmmc.c
drivers/mmc/host/wbsd.c
include/linux/mmc/host.h