mmc: sdhci-pci-core: Simplify code by using SET_SYSTEM_SLEEP_PM_OPS
authorUlf Hansson <ulf.hansson@linaro.org>
Wed, 27 Jul 2016 08:31:41 +0000 (10:31 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Wed, 27 Jul 2016 08:31:41 +0000 (10:31 +0200)
commitf9900f15b9786a476564f89a49a8b588d2e66604
tree65a01cea395133f35e92a3b9f4246bec0bc4f48b
parentbb4eecf23be259929f9e7d173890a83ae5f87d4c
mmc: sdhci-pci-core: Simplify code by using SET_SYSTEM_SLEEP_PM_OPS

Convert to define the system PM callbacks to be build for CONFIG_PM_SLEEP
and use the SET_SYSTEM_SLEEP_PM_OPS. In this way the code becomes cleaner.

Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci-pci-core.c