]> git.baikalelectronics.ru Git - kernel.git/commit
mmc: at91_mci: remove the use of irq_to_gpio
authorNicolas Ferre <nicolas.ferre@atmel.com>
Thu, 4 Aug 2011 15:49:03 +0000 (16:49 +0100)
committerChris Ball <cjb@laptop.org>
Wed, 26 Oct 2011 19:43:27 +0000 (15:43 -0400)
commit5ca4aff04cc5274e6fb1a6408b48b164eac50648
tree2188432e22a0ca049e6098ef40d2394e1dba8d43
parent3595f40870bff3e7b1968eb2f408d7533da3468e
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