mmc: fsl_esdhc: convert to use fsl_esdhc_get_cfg_common()
authorYangbo Lu <yangbo.lu@nxp.com>
Thu, 31 Oct 2019 10:54:23 +0000 (18:54 +0800)
committerPeng Fan <peng.fan@nxp.com>
Tue, 5 Nov 2019 03:21:25 +0000 (11:21 +0800)
commit5705973b093e226d3122d1d6439628e1dad24528
treeaf45a0c7ab09ee637c58f0e32115618231fff173
parent07bae1de382723b94244096953b05225572728cd
mmc: fsl_esdhc: convert to use fsl_esdhc_get_cfg_common()

The fsl_esdhc_init() was actually to get configuration of mmc_config.
So rename it to fsl_esdhc_get_cfg_common() and make it common for both
DM_MMC and non-DM_MMC.

Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
drivers/mmc/fsl_esdhc.c