mmc: host: use the defined function to check whether card is removable
authorJaehoon Chung <jh80.chung@samsung.com>
Tue, 21 Jun 2016 01:13:26 +0000 (10:13 +0900)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 25 Jul 2016 08:34:21 +0000 (10:34 +0200)
commit860951c5f0f5caf595799d98b93a8304bf70f08d
tree4045b6bf6aa9dd449920fa7e3315171d4100efec
parent52c0624a10cce0cdc8be2d15462b9c8d76b7700d
mmc: host: use the defined function to check whether card is removable

In linux/mmc/host.h, mmc_card_is_removable() is already defined.
It should be maintainted more easier than now.

Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Reviewed-by: Shawn Lin <shawn.lin@rock-chips.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/dw_mmc.c
drivers/mmc/host/mxcmmc.c
drivers/mmc/host/sdhci-bcm-kona.c
drivers/mmc/host/sdhci-of-at91.c
drivers/mmc/host/sdhci-st.c
drivers/mmc/host/sdhci.c
drivers/mmc/host/tmio_mmc_pio.c