diff options
author | Ulf Hansson <ulf.hansson@linaro.org> | 2013-09-26 05:01:18 -0400 |
---|---|---|
committer | Chris Ball <cjb@laptop.org> | 2013-10-30 20:28:38 -0400 |
commit | 3c0d22e8180b98eea412b84aa0f0c42c16159679 (patch) | |
tree | 5a1c0f25c1bd61d6a24b7da44926be7bdaa06aaf | |
parent | 578aebc7d6eca1de7a641b7ab0e70db73a42bcfa (diff) |
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 <ulf.hansson@linaro.org>
Signed-off-by: Chris Ball <cjb@laptop.org>
-rw-r--r-- | drivers/mmc/core/core.c | 22 | ||||
-rw-r--r-- | include/linux/mmc/host.h | 3 |
2 files changed, 0 insertions, 25 deletions
diff --git a/drivers/mmc/core/core.c b/drivers/mmc/core/core.c index 49dfafa99cc1..57a2b403bf8e 100644 --- a/drivers/mmc/core/core.c +++ b/drivers/mmc/core/core.c | |||
@@ -2641,28 +2641,6 @@ EXPORT_SYMBOL(mmc_cache_ctrl); | |||
2641 | 2641 | ||
2642 | #ifdef CONFIG_PM | 2642 | #ifdef CONFIG_PM |
2643 | 2643 | ||
2644 | /** | ||
2645 | * mmc_suspend_host - suspend a host | ||
2646 | * @host: mmc host | ||
2647 | */ | ||
2648 | int mmc_suspend_host(struct mmc_host *host) | ||
2649 | { | ||
2650 | /* This function is deprecated */ | ||
2651 | return 0; | ||
2652 | } | ||
2653 | EXPORT_SYMBOL(mmc_suspend_host); | ||
2654 | |||
2655 | /** | ||
2656 | * mmc_resume_host - resume a previously suspended host | ||
2657 | * @host: mmc host | ||
2658 | */ | ||
2659 | int mmc_resume_host(struct mmc_host *host) | ||
2660 | { | ||
2661 | /* This function is deprecated */ | ||
2662 | return 0; | ||
2663 | } | ||
2664 | EXPORT_SYMBOL(mmc_resume_host); | ||
2665 | |||
2666 | /* Do the card removal on suspend if card is assumed removeable | 2644 | /* Do the card removal on suspend if card is assumed removeable |
2667 | * Do that in pm notifier while userspace isn't yet frozen, so we will be able | 2645 | * Do that in pm notifier while userspace isn't yet frozen, so we will be able |
2668 | to sync the card. | 2646 | to sync the card. |
diff --git a/include/linux/mmc/host.h b/include/linux/mmc/host.h index 1c91bbbb01c3..f18669e15d4d 100644 --- a/include/linux/mmc/host.h +++ b/include/linux/mmc/host.h | |||
@@ -381,9 +381,6 @@ static inline void *mmc_priv(struct mmc_host *host) | |||
381 | #define mmc_classdev(x) (&(x)->class_dev) | 381 | #define mmc_classdev(x) (&(x)->class_dev) |
382 | #define mmc_hostname(x) (dev_name(&(x)->class_dev)) | 382 | #define mmc_hostname(x) (dev_name(&(x)->class_dev)) |
383 | 383 | ||
384 | int mmc_suspend_host(struct mmc_host *); | ||
385 | int mmc_resume_host(struct mmc_host *); | ||
386 | |||
387 | int mmc_power_save_host(struct mmc_host *host); | 384 | int mmc_power_save_host(struct mmc_host *host); |
388 | int mmc_power_restore_host(struct mmc_host *host); | 385 | int mmc_power_restore_host(struct mmc_host *host); |
389 | 386 | ||