mmc: core: Move mmc_card_removed() into mmc_start_request()
authorAdrian Hunter <adrian.hunter@intel.com>
Fri, 5 Dec 2014 17:41:02 +0000 (19:41 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 19 Jan 2015 08:56:30 +0000 (09:56 +0100)
commitf100c1c2b55b08d419b7cd3985cc144b41ce9a1f
treef8f71b80a8cb2ee044d212d94a0e61cebea379f7
parent63e415c64003fd62a302a1dc19f082e2c6f1b7cc
mmc: core: Move mmc_card_removed() into mmc_start_request()

Both callers of mmc_start_request() call mmc_card_removed()
so move that call into mmc_start_request().

This patch is preparation for adding re-tuning support.

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