OSDN Git Service

mmc: sdhci-acpi.c: Use SET_RUNTIME_PM_OPS macro to set runtime pm callbacks
authorPeter Griffin <peter.griffin@linaro.org>
Tue, 12 Aug 2014 16:14:29 +0000 (17:14 +0100)
committerUlf Hansson <ulf.hansson@linaro.org>
Tue, 9 Sep 2014 11:59:06 +0000 (13:59 +0200)
commit1d75f74b14dbeee1bd9f1e96efa1cbebeb2804cb
tree5848ed09bf14bc1dbd56440ee84c5b520636e9d7
parentf3a92b1a3258f8ef9a59bab24b9ea68b60908c44
mmc: sdhci-acpi.c: Use SET_RUNTIME_PM_OPS macro to set runtime pm callbacks

This allows us to get rid of the #else condition, as the macro compiles
away to nothing if not enabled.

Signed-off-by: Peter Griffin <peter.griffin@linaro.org>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci-acpi.c