sdhci-pci: refactor intel_mrfld_mmc_probe_slot()
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 29 Aug 2016 09:33:39 +0000 (12:33 +0300)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 26 Sep 2016 19:31:21 +0000 (21:31 +0200)
commit2e57bbe22c15916a020c4563ebcad5c848c0183c
treecc7b3b186a01b61d0e98d1ca9482e04453180451
parent3203a82724b86cc221e63a519313544d5f192289
sdhci-pci: refactor intel_mrfld_mmc_probe_slot()

Refactor intel_mrfld_mmc_probe_slot() to use switch case. The change allows to
add a support for SD and SDIO interfaces without any pain.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: Adrian Hunter <adrian.hunter@intel.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci-pci-core.c