mmc: core: refactor the hw_reset routines
authorJohan Rudholm <johan.rudholm@axis.com>
Mon, 12 Jan 2015 14:38:05 +0000 (15:38 +0100)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 19 Jan 2015 08:56:27 +0000 (09:56 +0100)
commitf855a3717eaff1179837060c4796f1cd706331e7
treed6ad944eab6fa07b891b514cea21f207ea9eaf8f
parent83533ab28380f6957af39a7b322e639e42dbdaf1
mmc: core: refactor the hw_reset routines

Move the (e)MMC specific hw_reset code from core.c into mmc.c. Call the
code from the new bus_ops member "reset". This also allows for adding
a SD card specific reset procedure.

Signed-off-by: Johan Rudholm <johanru@axis.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/core/core.c
drivers/mmc/core/core.h
drivers/mmc/core/mmc.c