mmc: sdhci: Move sdhci_runtime_pm_bus_off|on() to avoid pre-definition
authorUlf Hansson <ulf.hansson@linaro.org>
Mon, 11 Apr 2016 13:32:41 +0000 (15:32 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 2 May 2016 08:33:25 +0000 (10:33 +0200)
commit02d0b68524c0848f5de89a0ecd1e97790018d7d3
tree852bc6ed7d1e7ff10f7b52bba96ac713b3ea5e4b
parentdc4c90fa6510ab8d5eb5e06fd7546c9cb00932c5
mmc: sdhci: Move sdhci_runtime_pm_bus_off|on() to avoid pre-definition

There are no need to have two versions of sdhci_runtime_pm_bus_off|on(),
depending on whether CONFIG_PM is set or unset. Thus it's easy to move the
implementation of these functions a bit earlier to avoid the unnecessary
pre-definition of them, so let's do that.

Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Acked-by: Adrian Hunter <adrian.hunter@intel.com>
drivers/mmc/host/sdhci.c