mmc: core: Remove deprecated mmc_suspend|resume_host APIs
authorUlf Hansson <ulf.hansson@linaro.org>
Thu, 26 Sep 2013 09:01:18 +0000 (11:01 +0200)
committerlintao <lintao@rock-chips.com>
Fri, 7 Mar 2014 11:28:24 +0000 (19:28 +0800)
The are no more users of the deprecated mmc_suspend|resume_host API,
so let's remove it.

Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/core/core.c
include/linux/mmc/host.h

index d8cd50a89e6cb555278bc2425a30ad01b724b6ba..656b5da289e3be5dab34a094010286d818826330 100644 (file)
@@ -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.
index 34e9987d7af3e953227cfbba7e03f664a116d460..52ce47eb706b2e8bf76ba712c7ff22fc29ffee13 100755 (executable)
@@ -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);