]> git.baikalelectronics.ru Git - kernel.git/commit
ARM/USB: at91/ohci-at91: remove the use of irq_to_gpio
authorNicolas Ferre <nicolas.ferre@atmel.com>
Sat, 11 Feb 2012 13:23:06 +0000 (14:23 +0100)
committerNicolas Ferre <nicolas.ferre@atmel.com>
Thu, 1 Mar 2012 12:29:01 +0000 (13:29 +0100)
commitdad58cb56b908e30b2ac0799bddd803b68fdd584
tree7f6da3cdcd0d1a729b2d1043423309d181313592
parent5918c8d21b91d49fd4d74c67b4a30d7c06cb233a
ARM/USB: at91/ohci-at91: remove the use of irq_to_gpio

irq_to_gpio() macro will be removed from AT91 GPIO interrupt
controller. So we replace it with the use of gpio_to_irq()
and a reworked test.

Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Acked-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: linux-usb@vger.kernel.org
drivers/usb/host/ohci-at91.c