diff options
author | Ulf Hansson <ulf.hansson@linaro.org> | 2014-12-10 10:49:23 -0500 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2015-01-19 03:56:22 -0500 |
commit | 106276bbc98bd0bac554edce0869d356596ff9ae (patch) | |
tree | b22fff6f5ebdb4408bef87d5cad89fa9c63b608c | |
parent | 77903c01d8c6c5d2544085ba074aceadc1191d21 (diff) |
mmc: sdhci-pci: Remove redundant runtime PM idle callback
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
-rw-r--r-- | drivers/mmc/host/sdhci-pci.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/drivers/mmc/host/sdhci-pci.c b/drivers/mmc/host/sdhci-pci.c index 4f38554ce679..29eaff78238e 100644 --- a/drivers/mmc/host/sdhci-pci.c +++ b/drivers/mmc/host/sdhci-pci.c | |||
@@ -1367,11 +1367,6 @@ static int sdhci_pci_runtime_resume(struct device *dev) | |||
1367 | return 0; | 1367 | return 0; |
1368 | } | 1368 | } |
1369 | 1369 | ||
1370 | static int sdhci_pci_runtime_idle(struct device *dev) | ||
1371 | { | ||
1372 | return 0; | ||
1373 | } | ||
1374 | |||
1375 | #else /* CONFIG_PM */ | 1370 | #else /* CONFIG_PM */ |
1376 | 1371 | ||
1377 | #define sdhci_pci_suspend NULL | 1372 | #define sdhci_pci_suspend NULL |
@@ -1383,7 +1378,7 @@ static const struct dev_pm_ops sdhci_pci_pm_ops = { | |||
1383 | .suspend = sdhci_pci_suspend, | 1378 | .suspend = sdhci_pci_suspend, |
1384 | .resume = sdhci_pci_resume, | 1379 | .resume = sdhci_pci_resume, |
1385 | SET_RUNTIME_PM_OPS(sdhci_pci_runtime_suspend, | 1380 | SET_RUNTIME_PM_OPS(sdhci_pci_runtime_suspend, |
1386 | sdhci_pci_runtime_resume, sdhci_pci_runtime_idle) | 1381 | sdhci_pci_runtime_resume, NULL) |
1387 | }; | 1382 | }; |
1388 | 1383 | ||
1389 | /*****************************************************************************\ | 1384 | /*****************************************************************************\ |