diff options
author | Ulf Hansson <ulf.hansson@linaro.org> | 2019-10-16 15:16:34 +0200 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2019-11-13 11:41:50 +0100 |
commit | 1b32999e205bb5804400aaa61441ecb356381402 (patch) | |
tree | 1d3654226435a7dc7df450d2afd6c0ab53551d48 /drivers/mmc/host/tmio_mmc.h | |
parent | ea71c59669f17d032f11b13ea8a025cea365584f (diff) | |
download | linux-1b32999e205bb5804400aaa61441ecb356381402.tar.gz linux-1b32999e205bb5804400aaa61441ecb356381402.tar.bz2 linux-1b32999e205bb5804400aaa61441ecb356381402.zip |
mmc: tmio: Avoid boilerplate code in ->runtime_suspend()
Rather than checking the 'runtime_synced' flag each time the
->runtime_suspend() callback is invoked, let's convert into using
dev_pm_domain_start() during ->probe() and drop the corresponding
boilerplate code.
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/mmc/host/tmio_mmc.h')
-rw-r--r-- | drivers/mmc/host/tmio_mmc.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/mmc/host/tmio_mmc.h b/drivers/mmc/host/tmio_mmc.h index 2f0b092d6dcc..c5ba13fae399 100644 --- a/drivers/mmc/host/tmio_mmc.h +++ b/drivers/mmc/host/tmio_mmc.h @@ -163,7 +163,6 @@ struct tmio_mmc_host { unsigned long last_req_ts; struct mutex ios_lock; /* protect set_ios() context */ bool native_hotplug; - bool runtime_synced; bool sdio_irq_enabled; /* Mandatory callback */ |