Skip to content

Commit

Permalink
mmc: sdhci-pci: Remove redundant runtime PM idle callback
Browse files Browse the repository at this point in the history
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
  • Loading branch information
Ulf Hansson committed Jan 19, 2015
1 parent 77903c0 commit 106276b
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions drivers/mmc/host/sdhci-pci.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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)
};

/*****************************************************************************\
Expand Down

0 comments on commit 106276b

Please sign in to comment.