Commit 9b449e99 authored by Ulf Hansson's avatar Ulf Hansson

mmc: sdhci-acpi: Remove redundant runtime PM idle callback

Signed-off-by: default avatarUlf Hansson <ulf.hansson@linaro.org>
parent 348487cb
...@@ -448,18 +448,13 @@ static int sdhci_acpi_runtime_resume(struct device *dev) ...@@ -448,18 +448,13 @@ static int sdhci_acpi_runtime_resume(struct device *dev)
return sdhci_runtime_resume_host(c->host); return sdhci_runtime_resume_host(c->host);
} }
static int sdhci_acpi_runtime_idle(struct device *dev)
{
return 0;
}
#endif #endif
static const struct dev_pm_ops sdhci_acpi_pm_ops = { static const struct dev_pm_ops sdhci_acpi_pm_ops = {
.suspend = sdhci_acpi_suspend, .suspend = sdhci_acpi_suspend,
.resume = sdhci_acpi_resume, .resume = sdhci_acpi_resume,
SET_RUNTIME_PM_OPS(sdhci_acpi_runtime_suspend, SET_RUNTIME_PM_OPS(sdhci_acpi_runtime_suspend,
sdhci_acpi_runtime_resume, sdhci_acpi_runtime_idle) sdhci_acpi_runtime_resume, NULL)
}; };
static struct platform_driver sdhci_acpi_driver = { static struct platform_driver sdhci_acpi_driver = {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment