mmc: sunxi: Avoid #ifdefs in delay and width setup
authorAndre Przywara <andre.przywara@arm.com>
Fri, 18 Dec 2020 22:02:11 +0000 (22:02 +0000)
committerAndre Przywara <andre.przywara@arm.com>
Sat, 10 Jul 2021 00:22:09 +0000 (01:22 +0100)
commitf4826fb137a4514163aeea31ca8d17e70fcb37e4
treef9aa2e4738f31fc69e3986837220ec9515336c8f
parentb8747854de7f4aaa8d8a60842c5a97358d4ad891
mmc: sunxi: Avoid #ifdefs in delay and width setup

The delay and bus-width setup are slightly different across the
Allwinner SoC generations, and we covered this so far with some
preprocessor conditionals.

Use the more readable IS_ENABLE() instead.

Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Reviewed-by: Jaehoon Chung <jh80.chung@samsung.com>
drivers/mmc/sunxi_mmc.c