diff options
author | Manuel Lauss <manuel.lauss@googlemail.com> | 2011-11-03 11:09:45 +0100 |
---|---|---|
committer | Chris Ball <cjb@laptop.org> | 2011-12-19 15:50:11 -0800 |
commit | 29495aa04a30c21565243c5b9c028510446d242c (patch) | |
tree | 7f9bd3ab43cd4494c9fc4a92956c414ccbe85a0f /drivers/mmc/host/sdhci-tegra.c | |
parent | 49df78074963c97e25debc3c67b72f059111607d (diff) | |
download | linux-stable-29495aa04a30c21565243c5b9c028510446d242c.tar.gz linux-stable-29495aa04a30c21565243c5b9c028510446d242c.tar.bz2 linux-stable-29495aa04a30c21565243c5b9c028510446d242c.zip |
mmc: sdhci: remove "state" argument from sdhci_suspend_host
Drop the "state" argument from sdhci_suspend_host. Its only user is the
PCI glue; this allows to move all SDHCI glues to use dev_pm_ops instead.
Signed-off-by: Manuel Lauss <manuel.lauss@googlemail.com>
Acked-by: Adrian Hunter <adrian.hunter@intel.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
Diffstat (limited to 'drivers/mmc/host/sdhci-tegra.c')
-rw-r--r-- | drivers/mmc/host/sdhci-tegra.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/mmc/host/sdhci-tegra.c b/drivers/mmc/host/sdhci-tegra.c index 89699e861fc1..e2e18d3f949c 100644 --- a/drivers/mmc/host/sdhci-tegra.c +++ b/drivers/mmc/host/sdhci-tegra.c @@ -318,13 +318,10 @@ static struct platform_driver sdhci_tegra_driver = { .name = "sdhci-tegra", .owner = THIS_MODULE, .of_match_table = sdhci_tegra_dt_match, + .pm = SDHCI_PLTFM_PMOPS, }, .probe = sdhci_tegra_probe, .remove = __devexit_p(sdhci_tegra_remove), -#ifdef CONFIG_PM - .suspend = sdhci_pltfm_suspend, - .resume = sdhci_pltfm_resume, -#endif }; static int __init sdhci_tegra_init(void) |