mmc: core: Remove redundant mmc_power_up|off at runtime callbacks
authorUlf Hansson <ulf.hansson@linaro.org>
Thu, 3 Oct 2013 09:24:44 +0000 (11:24 +0200)
committerlintao <lintao@rock-chips.com>
Fri, 7 Mar 2014 11:34:16 +0000 (19:34 +0800)
commit62bd8482b5c24bae485d49e7bc73f09d61636504
tree06096488b03b2614479a5ed2bc6fc521d93ea5e7
parent4b1ff18255efa2eac33b5fda3e44c97f376988f4
mmc: core: Remove redundant mmc_power_up|off at runtime callbacks

Commit "mmc: core: Push common suspend|resume code into each bus_ops"
moved the responsibility for doing mmc_power_up|off into each
suspend/resume bus_ops. When using MMC_CAP_AGGRESSIVE_PM, through the
runtime callbacks, calls to mmc_power_up|off became redundant.

When removing them, we are also able to remove the calls to
mmc_claim|release_host, thus simplifing code a bit more.

Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/core/mmc.c
drivers/mmc/core/sd.c