]> git.baikalelectronics.ru Git - kernel.git/commit
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)
committerUlf Hansson <ulf.hansson@linaro.org>
Tue, 9 Sep 2014 11:59:09 +0000 (13:59 +0200)
commite0e24c3f3722e69d2116eebb14b6b9061484b76f
treedfef2b1c519818a9c833483767e2d14458559fa9
parent2f6f535504e20b77fc4d1e1012b5df21e5f7e8ef
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