MMC: MMCI: use gpiolib for card detect/write protect
commit89001446925d6da8785c3265a71316e34c6d15de
authorRussell King <rmk@dyn-67.arm.linux.org.uk>
Thu, 9 Jul 2009 14:16:07 +0000 (9 15:16 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 9 Jul 2009 14:16:07 +0000 (9 15:16 +0100)
tree467acdeafd056c93456d4db33ada112ae804eabe
parent7fb2bbf4d9e7e62057184f1e061566459eef6c79
MMC: MMCI: use gpiolib for card detect/write protect

Use gpiolib where available (and when valid GPIOs are provided) for
write protect/card detect status reporting.  We fall back to the old
'status' method where gpiolib support is not available.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
drivers/mmc/host/mmci.c
drivers/mmc/host/mmci.h