mmc: fsl_esdhc: clean up DM and non-DM code
authorYangbo Lu <yangbo.lu@nxp.com>
Thu, 31 Oct 2019 10:54:26 +0000 (18:54 +0800)
committerPeng Fan <peng.fan@nxp.com>
Tue, 5 Nov 2019 03:21:25 +0000 (11:21 +0800)
commit618704753e4dd9fad2435096a67612a878a6d84f
tree6960e3e7ae76ec66e6215caa414f89cec96d873c
parent0cc127c424ea313b1afc3e53f7c1ba248961728e
mmc: fsl_esdhc: clean up DM and non-DM code

Make DM and non-DM code clear using below structure.
#if !CONFIG_IS_ENABLED(DM_MMC)
<non-DM_MMC code>
#else
<DM_MMC code>
#endif

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