mmc: tmio: Extract bus_width modifications to a separate function
authorUlf Hansson <ulf.hansson@linaro.org>
Thu, 24 Oct 2013 15:42:53 +0000 (17:42 +0200)
committerSimon Horman <horms+renesas@verge.net.au>
Fri, 5 Dec 2014 01:39:23 +0000 (10:39 +0900)
commit65be52cecdae6fd4ae8909a83421c25935d6a5a3
tree109861f35b3a3b5cbf81816aa55626d5ef5d968c
parentdb1fb84f203df5faf6c5099a4113350ece4a5e3a
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>
(cherry picked from commit 9ae4ed7d30f433873351d5ba14ae000d10e10430)
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
drivers/mmc/host/tmio_mmc_pio.c