mmc: core: Extend shutdown sequence to handle bus operations
authorUlf Hansson <ulf.hansson@linaro.org>
Mon, 10 Jun 2013 15:03:41 +0000 (17:03 +0200)
committerChris Ball <cjb@laptop.org>
Thu, 27 Jun 2013 16:39:18 +0000 (12:39 -0400)
commit6b086bde71243e2596f9d8e3c060119b84110d33
treea8ad7455f7d1fbc88efab37baa73bf7a0847a9b5
parent7628774851751e55362ec7d9d57c9334e656a655
mmc: core: Extend shutdown sequence to handle bus operations

By adding an optional .shutdown callback to the bus_ops struct we
provide the possibility to let each bus type handle it's shutdown
requirements.

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