mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
mmc: sdhci: remove platform_suspend/platform_resume callbacks
The only user (sdhci-of-esdhc) no longer uses these callbacks, so lets remove them to discourage any further use. Signed-off-by: Russell King <[email protected]> Tested-by: Markus Pargmann <[email protected]> Tested-by: Stephen Warren <[email protected]> Signed-off-by: Ulf Hansson <[email protected]> Signed-off-by: Chris Ball <[email protected]>
This commit is contained in:
parent
723f7924e8
commit
c314b2b10b
2 changed files with 0 additions and 8 deletions
|
|
@ -2547,9 +2547,6 @@ EXPORT_SYMBOL_GPL(sdhci_disable_irq_wakeups);
|
|||
|
||||
int sdhci_suspend_host(struct sdhci_host *host)
|
||||
{
|
||||
if (host->ops->platform_suspend)
|
||||
host->ops->platform_suspend(host);
|
||||
|
||||
sdhci_disable_card_detection(host);
|
||||
|
||||
/* Disable tuning since we are suspending */
|
||||
|
|
@ -2606,9 +2603,6 @@ int sdhci_resume_host(struct sdhci_host *host)
|
|||
|
||||
sdhci_enable_card_detection(host);
|
||||
|
||||
if (host->ops->platform_resume)
|
||||
host->ops->platform_resume(host);
|
||||
|
||||
/* Set the re-tuning expiration flag */
|
||||
if (host->flags & SDHCI_USING_RETUNING_TIMER)
|
||||
host->flags |= SDHCI_NEEDS_RETUNING;
|
||||
|
|
|
|||
|
|
@ -289,8 +289,6 @@ struct sdhci_ops {
|
|||
int (*platform_execute_tuning)(struct sdhci_host *host, u32 opcode);
|
||||
void (*set_uhs_signaling)(struct sdhci_host *host, unsigned int uhs);
|
||||
void (*hw_reset)(struct sdhci_host *host);
|
||||
void (*platform_suspend)(struct sdhci_host *host);
|
||||
void (*platform_resume)(struct sdhci_host *host);
|
||||
void (*adma_workaround)(struct sdhci_host *host, u32 intmask);
|
||||
void (*platform_init)(struct sdhci_host *host);
|
||||
void (*card_event)(struct sdhci_host *host);
|
||||
|
|
|
|||
Loading…
Reference in a new issue