mmc: core: Add shutdown callback for (e)MMC bus_ops
commit486fdbbc1483504cde0314e33e47bc32e9d38186
authorUlf Hansson <ulf.hansson@linaro.org>
Mon, 10 Jun 2013 15:03:44 +0000 (10 17:03 +0200)
committerChris Ball <cjb@laptop.org>
Thu, 27 Jun 2013 16:39:20 +0000 (27 12:39 -0400)
treeb1fd64aa3de40099693fdade6cc085f06337115d
parent03d071fc8de4ad9b6e7374720ae81b7e928f6075
mmc: core: Add shutdown callback for (e)MMC bus_ops

The shutdown sequence of an (e)MMC is very similar to a suspend. We
re-use the suspend function and tell it we are not in suspend context.

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