Skip to content

Commit

Permalink
mmc: core: Remove deprecated mmc_suspend|resume_host APIs
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Ulf Hansson authored and Chris Ball committed Oct 31, 2013
1 parent 578aebc commit 3c0d22e
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 25 deletions.
22 changes: 0 additions & 22 deletions drivers/mmc/core/core.c
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
3 changes: 0 additions & 3 deletions include/linux/mmc/host.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 3c0d22e

Please sign in to comment.