dm: mmc: sdhci: Refactor configuration setup to support DM
authorSimon Glass <sjg@chromium.org>
Mon, 13 Jun 2016 05:30:27 +0000 (23:30 -0600)
committerSimon Glass <sjg@chromium.org>
Mon, 11 Jul 2016 20:06:44 +0000 (14:06 -0600)
commit2a809093f0e2b243565abb27fc37b6d881c4157f
treef9ef92c806e8ffcbf3901b28bab3421946438338
parent9a46bd3febd405e2d4b894d9ebae2e9ca88b22d6
dm: mmc: sdhci: Refactor configuration setup to support DM

Move the configuration setting into a separate function which can be used by
the driver-model code.

Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/mmc/sdhci.c