aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mmc/core/sdio.c
diff options
context:
space:
mode:
authorUlf Hansson <ulf.hansson@linaro.org>2017-01-13 14:14:13 +0100
committerUlf Hansson <ulf.hansson@linaro.org>2017-02-13 13:20:23 +0100
commit2e4af7b6554a05406ac03f2792d0415c1ab9aeaa (patch)
treeaafa8950b34d657d1d4ccd5e852dafecaf5f6a73 /drivers/mmc/core/sdio.c
parentmmc: omap: Don't use mmc_card_present() when validating for inserted card (diff)
downloadlinux-dev-2e4af7b6554a05406ac03f2792d0415c1ab9aeaa.tar.xz
linux-dev-2e4af7b6554a05406ac03f2792d0415c1ab9aeaa.zip
mmc: vub300: Don't use mmc_card_present() when validating for inserted card
The mmc_card_present() function helps the mmc core to track an internal state of the card device. More importantly, it's not intended to be used by mmc host drivers to check for an inserted card. Therefore, let's stop using it and instead rely on checking for a valid pointer to a struct mmc_card, as it should be good enough. Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org> Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/mmc/core/sdio.c')
0 files changed, 0 insertions, 0 deletions