From: Ulf Hansson Date: Thu, 26 Sep 2013 09:01:18 +0000 (+0200) Subject: mmc: core: Remove deprecated mmc_suspend|resume_host APIs X-Git-Tag: firefly_0821_release~6165^2~29 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=3027099fb5dd5ead744ee10178c4474eb54503b0;p=firefly-linux-kernel-4.4.55.git mmc: core: Remove deprecated mmc_suspend|resume_host APIs The are no more users of the deprecated mmc_suspend|resume_host API, so let's remove it. Signed-off-by: Ulf Hansson Signed-off-by: Chris Ball --- diff --git a/drivers/mmc/core/core.c b/drivers/mmc/core/core.c index d8cd50a89e6c..656b5da289e3 100644 --- a/drivers/mmc/core/core.c +++ b/drivers/mmc/core/core.c @@ -2695,28 +2695,6 @@ EXPORT_SYMBOL(mmc_cache_ctrl); #ifdef CONFIG_PM -/** - * mmc_suspend_host - suspend a host - * @host: mmc host - */ -int mmc_suspend_host(struct mmc_host *host) -{ - /* This function is deprecated */ - return 0; -} -EXPORT_SYMBOL(mmc_suspend_host); - -/** - * mmc_resume_host - resume a previously suspended host - * @host: mmc host - */ -int mmc_resume_host(struct mmc_host *host) -{ - /* This function is deprecated */ - return 0; -} -EXPORT_SYMBOL(mmc_resume_host); - /* Do the card removal on suspend if card is assumed removeable * Do that in pm notifier while userspace isn't yet frozen, so we will be able to sync the card. diff --git a/include/linux/mmc/host.h b/include/linux/mmc/host.h index 34e9987d7af3..52ce47eb706b 100755 --- a/include/linux/mmc/host.h +++ b/include/linux/mmc/host.h @@ -425,9 +425,6 @@ static inline void mmc_set_bus_resume_policy(struct mmc_host *host, int manual) extern int mmc_resume_bus(struct mmc_host *host); -int mmc_suspend_host(struct mmc_host *); -int mmc_resume_host(struct mmc_host *); - int mmc_power_save_host(struct mmc_host *host); int mmc_power_restore_host(struct mmc_host *host);