mmc: sdhci: Tidy tuning loop
authorAdrian Hunter <adrian.hunter@intel.com>
Fri, 2 Dec 2016 13:14:27 +0000 (15:14 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 5 Dec 2016 13:16:24 +0000 (14:16 +0100)
commit6b11e70bb72c5bfbd7d1544518d26d4b1100aae1
tree10aae524bf25f2be2e82ad0cb4b3a8c48039bb79
parent85336109c0b272d8d0b4509872e1247d948ddfa9
mmc: sdhci: Tidy tuning loop

Tidy the tuning loop by moving it to a separate function and making it a
for-loop.

Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci.c