summaryrefslogtreecommitdiff
path: root/drivers/input
diff options
context:
space:
mode:
authorUlf Hansson <ulf.hansson@linaro.org>2017-01-13 16:14:12 +0300
committerUlf Hansson <ulf.hansson@linaro.org>2017-02-13 15:20:23 +0300
commit136b0a471cd41b906dd4e00789cc998632a8cdd7 (patch)
treeb7233e4beba0c222d124dbcb68e9d4a6b7c3f0f1 /drivers/input
parent009b0fcea5dfe77663f7ec3927c7c50a97a7675c (diff)
downloadlinux-136b0a471cd41b906dd4e00789cc998632a8cdd7.tar.xz
mmc: omap: 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. Cc: linux-omap@vger.kernel.org Cc: Tony Lindgren <tony@atomide.com> Cc: Jarkko Nikula <jarkko.nikula@bitmer.com> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org> Acked-by: Tony Lindgren <tony@atomide.com> Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/input')
0 files changed, 0 insertions, 0 deletions