mmc: dw_mmc: Factor out dw_mci_init_slot_caps
authorShawn Lin <shawn.lin@rock-chips.com>
Sat, 24 Feb 2018 06:17:22 +0000 (14:17 +0800)
committerUlf Hansson <ulf.hansson@linaro.org>
Tue, 27 Feb 2018 14:11:49 +0000 (15:11 +0100)
commita4faa4929ed3be15e2d500d2405f992f6dedc8eb
treea12761f1e87cb579821dc5304b76a53f36ca4b06
parent325501d9360eb42c7c51e6daa0d733844c1e790b
mmc: dw_mmc: Factor out dw_mci_init_slot_caps

Factor out dw_mci_init_slot_caps to consolidate parsing
all differents types of capabilities from host contrllers.
No functional change intended.

Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
Fixes: 800d78bfccb3 ("mmc: dw_mmc: add support for implementation specific callbacks")
Cc: <stable@vger.kernel.org>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/dw_mmc.c