Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 341eb6a4 authored by Ulf Hansson's avatar Ulf Hansson
Browse files

mmc: tmio: Remove library functions for system PM



These library functions aren't used and nor needed, let's remove them.

Signed-off-by: default avatarUlf Hansson <ulf.hansson@linaro.org>
Acked-by: default avatarGeert Uytterhoeven <geert+renesas@glider.be>
parent 70a15e1a
Loading
Loading
Loading
Loading
+0 −5
Original line number Original line Diff line number Diff line
@@ -144,11 +144,6 @@ static inline void tmio_mmc_abort_dma(struct tmio_mmc_host *host)
}
}
#endif
#endif


#ifdef CONFIG_PM_SLEEP
int tmio_mmc_host_suspend(struct device *dev);
int tmio_mmc_host_resume(struct device *dev);
#endif

#ifdef CONFIG_PM
#ifdef CONFIG_PM
int tmio_mmc_host_runtime_suspend(struct device *dev);
int tmio_mmc_host_runtime_suspend(struct device *dev);
int tmio_mmc_host_runtime_resume(struct device *dev);
int tmio_mmc_host_runtime_resume(struct device *dev);
+0 −23
Original line number Original line Diff line number Diff line
@@ -1139,29 +1139,6 @@ void tmio_mmc_host_remove(struct tmio_mmc_host *host)
}
}
EXPORT_SYMBOL(tmio_mmc_host_remove);
EXPORT_SYMBOL(tmio_mmc_host_remove);


#ifdef CONFIG_PM_SLEEP
int tmio_mmc_host_suspend(struct device *dev)
{
	struct mmc_host *mmc = dev_get_drvdata(dev);
	struct tmio_mmc_host *host = mmc_priv(mmc);

	tmio_mmc_disable_mmc_irqs(host, TMIO_MASK_ALL);
	return 0;
}
EXPORT_SYMBOL(tmio_mmc_host_suspend);

int tmio_mmc_host_resume(struct device *dev)
{
	struct mmc_host *mmc = dev_get_drvdata(dev);
	struct tmio_mmc_host *host = mmc_priv(mmc);

	tmio_mmc_enable_dma(host, true);

	return 0;
}
EXPORT_SYMBOL(tmio_mmc_host_resume);
#endif

#ifdef CONFIG_PM
#ifdef CONFIG_PM
int tmio_mmc_host_runtime_suspend(struct device *dev)
int tmio_mmc_host_runtime_suspend(struct device *dev)
{
{