]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
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)
committerChris Ball <cjb@laptop.org>
Thu, 31 Oct 2013 00:28:38 +0000 (20:28 -0400)
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 49dfafa99cc14be85e4b5b4d9d98d3d233fd9343..57a2b403bf8e9107204c3cda03671a5a1c8bd87d 100644 (file)
@@ -2641,28 +2641,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 1c91bbbb01c373770cfc7e13d391298863ed6e11..f18669e15d4db87894fd9d726ea70a4ace7c7614 100644 (file)
@@ -381,9 +381,6 @@ static inline void *mmc_priv(struct mmc_host *host)
 #define mmc_classdev(x)        (&(x)->class_dev)
 #define mmc_hostname(x)        (dev_name(&(x)->class_dev))
 
-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);