aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mmc/host/tmio_mmc_pio.c
diff options
context:
space:
mode:
authorUlf Hansson <ulf.hansson@linaro.org>2014-08-25 07:22:51 -0400
committerUlf Hansson <ulf.hansson@linaro.org>2014-09-09 07:59:12 -0400
commit341eb6a4e7beea5730faf55610ef60584bcfffcf (patch)
treea5628818aff78fd7e2652e401bc13b1cb3b9b3ad /drivers/mmc/host/tmio_mmc_pio.c
parent70a15e1a3c58ee841415c84170b80a3859027686 (diff)
mmc: tmio: Remove library functions for system PM
These library functions aren't used and nor needed, let's remove them. Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org> Acked-by: Geert Uytterhoeven <geert+renesas@glider.be>
Diffstat (limited to 'drivers/mmc/host/tmio_mmc_pio.c')
-rw-r--r--drivers/mmc/host/tmio_mmc_pio.c23
1 files changed, 0 insertions, 23 deletions
diff --git a/drivers/mmc/host/tmio_mmc_pio.c b/drivers/mmc/host/tmio_mmc_pio.c
index 494ecc5e73d0..a99320818f19 100644
--- a/drivers/mmc/host/tmio_mmc_pio.c
+++ b/drivers/mmc/host/tmio_mmc_pio.c
@@ -1139,29 +1139,6 @@ void tmio_mmc_host_remove(struct tmio_mmc_host *host)
1139} 1139}
1140EXPORT_SYMBOL(tmio_mmc_host_remove); 1140EXPORT_SYMBOL(tmio_mmc_host_remove);
1141 1141
1142#ifdef CONFIG_PM_SLEEP
1143int tmio_mmc_host_suspend(struct device *dev)
1144{
1145 struct mmc_host *mmc = dev_get_drvdata(dev);
1146 struct tmio_mmc_host *host = mmc_priv(mmc);
1147
1148 tmio_mmc_disable_mmc_irqs(host, TMIO_MASK_ALL);
1149 return 0;
1150}
1151EXPORT_SYMBOL(tmio_mmc_host_suspend);
1152
1153int tmio_mmc_host_resume(struct device *dev)
1154{
1155 struct mmc_host *mmc = dev_get_drvdata(dev);
1156 struct tmio_mmc_host *host = mmc_priv(mmc);
1157
1158 tmio_mmc_enable_dma(host, true);
1159
1160 return 0;
1161}
1162EXPORT_SYMBOL(tmio_mmc_host_resume);
1163#endif
1164
1165#ifdef CONFIG_PM 1142#ifdef CONFIG_PM
1166int tmio_mmc_host_runtime_suspend(struct device *dev) 1143int tmio_mmc_host_runtime_suspend(struct device *dev)
1167{ 1144{