summaryrefslogtreecommitdiffstats
path: root/drivers/mmc/host
diff options
context:
space:
mode:
authorPeter Griffin <peter.griffin@linaro.org>2014-08-12 17:14:27 +0100
committerUlf Hansson <ulf.hansson@linaro.org>2014-09-09 13:59:05 +0200
commit0529b810944932038fae1691b635d585429e6030 (patch)
tree883e7a341068abc16512c03476346eeefa4446fd /drivers/mmc/host
parenteb4667426ba7b0676e888aa8ffc448fcf607d284 (diff)
downloadblackbird-op-linux-0529b810944932038fae1691b635d585429e6030.tar.gz
blackbird-op-linux-0529b810944932038fae1691b635d585429e6030.zip
mmc: dw_mmc-pltfm: Remove superflous #else condition on CONFIG_PM_SLEEP
As the code is using SIMPLE_DEV_PM_OPS helper, this compiles away to nothing if CONFIG_PM_SLEEP is disabled. Thus we don't need to #define the suspend/resume callbacks to NULL. Signed-off-by: Peter Griffin <peter.griffin@linaro.org> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'drivers/mmc/host')
-rw-r--r--drivers/mmc/host/dw_mmc-pltfm.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/mmc/host/dw_mmc-pltfm.c b/drivers/mmc/host/dw_mmc-pltfm.c
index b547f7ab18bd..1cd02828e5a3 100644
--- a/drivers/mmc/host/dw_mmc-pltfm.c
+++ b/drivers/mmc/host/dw_mmc-pltfm.c
@@ -134,9 +134,6 @@ static int dw_mci_pltfm_resume(struct device *dev)
return dw_mci_resume(host);
}
-#else
-#define dw_mci_pltfm_suspend NULL
-#define dw_mci_pltfm_resume NULL
#endif /* CONFIG_PM_SLEEP */
SIMPLE_DEV_PM_OPS(dw_mci_pltfm_pmops, dw_mci_pltfm_suspend, dw_mci_pltfm_resume);
OpenPOWER on IntegriCloud