]> git.baikalelectronics.ru Git - kernel.git/commit
mmc: dw_mmc-pci: Remove superflous #else condition on CONFIG_PM_SLEEP
authorPeter Griffin <peter.griffin@linaro.org>
Tue, 12 Aug 2014 16:14:26 +0000 (17:14 +0100)
committerUlf Hansson <ulf.hansson@linaro.org>
Tue, 9 Sep 2014 11:59:05 +0000 (13:59 +0200)
commit3f1c101d3ffcadb29517421dd60f012b51166c86
tree883b224999082a5137214ff8ea2a5bd1f03e4a5b
parentc4ca064aab6ef740faae0662d62f55432ba22dd2
mmc: dw_mmc-pci: 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>
drivers/mmc/host/dw_mmc-pci.c