]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite5f9f2ed519147e069a41d4f402610869711dba4
tree65a01cea395133f35e92a3b9f4246bec0bc4f48b
parent3989415e62f87ad224b9ba3c00c09da0f833b6cf
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