mmc: core: Use mmc_card_* macro and add a new for the sd_combo type
authorSeunghui Lee <sh043.lee@samsung.com>
Wed, 13 Jul 2022 03:36:34 +0000 (12:36 +0900)
committerUlf Hansson <ulf.hansson@linaro.org>
Wed, 13 Jul 2022 10:44:41 +0000 (12:44 +0200)
commit3beb0ab5bffba625007ea5c9e5e0ee5eef05c1ea
treedb059021eb00edacef6acb8dd546749439f7d7a5
parent54c16b522e00583ba1151501286b0cf4c91e08c3
mmc: core: Use mmc_card_* macro and add a new for the sd_combo type

Add mmc_card_sd_combo() macro for sd combo type card and use the mmc_card_*
macro to simplify code instead of comparing card->type.

Signed-off-by: Seunghui Lee <sh043.lee@samsung.com>
Link: https://lore.kernel.org/r/20220713033635.28432-2-sh043.lee@samsung.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/core/block.c
drivers/mmc/core/bus.c
drivers/mmc/core/sd.c
drivers/mmc/core/sdio.c
include/linux/mmc/card.h