mmc: fsl_esdhc_imx: Replace more #ifdefs by if
authorSean Anderson <sean.anderson@seco.com>
Tue, 23 Nov 2021 20:03:46 +0000 (15:03 -0500)
committerJaehoon Chung <jh80.chung@samsung.com>
Wed, 12 Jan 2022 00:56:40 +0000 (09:56 +0900)
commit00e0cd7fda11d5c508a3fc0c65b8d06d672bb1a0
treeaae8028bf080c73e048553a9c305ac5f695ca209
parent4f01db814aa472ab766eb2cf950400a1310a143f
mmc: fsl_esdhc_imx: Replace more #ifdefs by if

This builds on the previous patch by converting yet more preprocessor
macros to C ifs. This is split off so that the changes adapted from
Micheal's patch may be clearly distinguished from the ones I have
authored myself.

MMC_SUPPORTS_TUNING should really get a Kconfig conversion. And DM_GPIO
needs some -ENOSYS stubs when it isn't defined.

Signed-off-by: Sean Anderson <sean.anderson@seco.com>
drivers/mmc/fsl_esdhc_imx.c