mmc: sdhci-acpi: Tidy Intel slot probe functions into one
authorAdrian Hunter <adrian.hunter@intel.com>
Thu, 19 Oct 2017 10:41:44 +0000 (13:41 +0300)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 30 Oct 2017 10:50:41 +0000 (11:50 +0100)
commit159cd328e34891898d5db686d753f9acc1f6ed73
tree35e5bae35f77c1835860049b9eda2762a80c960f
parenta2038497e817107f194b8c34632df6aabe50eb30
mmc: sdhci-acpi: Tidy Intel slot probe functions into one

Tidy Intel slot probe functions into one. A single function can be used
because the logic uses hid / uid as necessary to identify devices anyway.
This gets rid of some pointless comments and checks for variables that
cannot possibly be NULL, as well as giving the function a name that
identifies it as specific to Intel controllers.

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