mmc: tmio: Extract bus_width modifications to a separate function
commit9ae4ed7d30f433873351d5ba14ae000d10e10430
authorUlf Hansson <ulf.hansson@linaro.org>
Thu, 24 Oct 2013 15:42:53 +0000 (24 17:42 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Tue, 9 Sep 2014 11:59:09 +0000 (9 13:59 +0200)
treedfef2b1c519818a9c833483767e2d14458559fa9
parent0369483efc1719f47249fa94329aa94155edf69d
mmc: tmio: Extract bus_width modifications to a separate function

Move code for bus_width modification, out of the ->set_ios() callback
and into a separate function, to simplify code.

Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Acked-by: Geert Uytterhoeven <geert+renesas@glider.be>
drivers/mmc/host/tmio_mmc_pio.c