mmc: sdhci-pci: Remove redundant runtime PM idle callback
authorUlf Hansson <ulf.hansson@linaro.org>
Wed, 10 Dec 2014 15:49:23 +0000 (16:49 +0100)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 19 Jan 2015 08:56:22 +0000 (09:56 +0100)
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci-pci.c

index 4f38554ce6797e0a461a3ddaf76261264229f107..29eaff78238e9ee3dd50b9e4054522ffdf035a5f 100644 (file)
@@ -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)
 };
 
 /*****************************************************************************\