mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-05 22:06:49 +07:00
mmc: sdhci-pci: Remove redundant runtime PM idle callback
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
This commit is contained in:
parent
77903c01d8
commit
106276bbc9
@ -1367,11 +1367,6 @@ static int sdhci_pci_runtime_resume(struct device *dev)
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int sdhci_pci_runtime_idle(struct device *dev)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
#else /* CONFIG_PM */
|
||||
|
||||
#define sdhci_pci_suspend NULL
|
||||
@ -1383,7 +1378,7 @@ static const struct dev_pm_ops sdhci_pci_pm_ops = {
|
||||
.suspend = sdhci_pci_suspend,
|
||||
.resume = sdhci_pci_resume,
|
||||
SET_RUNTIME_PM_OPS(sdhci_pci_runtime_suspend,
|
||||
sdhci_pci_runtime_resume, sdhci_pci_runtime_idle)
|
||||
sdhci_pci_runtime_resume, NULL)
|
||||
};
|
||||
|
||||
/*****************************************************************************\
|
||||
|
Loading…
Reference in New Issue
Block a user