mmc: at91_mci: remove the use of irq_to_gpio
commit51c5d8d1499b8442e863fe756f76e7f4ea7476fb
authorNicolas Ferre <nicolas.ferre@atmel.com>
Thu, 4 Aug 2011 15:49:03 +0000 (4 16:49 +0100)
committerChris Ball <cjb@laptop.org>
Wed, 26 Oct 2011 19:43:27 +0000 (26 15:43 -0400)
tree2188432e22a0ca049e6098ef40d2394e1dba8d43
parent7e8ba228d9f43a4e4b3ed0e6aa3399e8f30d7bc1
mmc: at91_mci: remove the use of irq_to_gpio

Remove the use of irq_to_gpio() in the card detection interrupt
handler. The information is available in the board structure and
we can avoid using a function that has little meaning.

Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Acked-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/host/at91_mci.c