ARM: mach-shmobile: remove sh7367 on-chip set_irq_type()
authorMagnus Damm <damm@opensource.se>
Tue, 18 Jan 2011 03:41:04 +0000 (03:41 +0000)
committerPaul Mundt <lethal@linux-sh.org>
Tue, 18 Jan 2011 04:51:57 +0000 (13:51 +0900)
set_irq_type() should only be used for external IRQ pins,
so update the G3EVM board code to remove low level request.

Signed-off-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/arm/mach-shmobile/board-g3evm.c

index 686b304a7708793b42084840bd900234cac82f1c..ef4613b993a2c030829aaec7975aab8498f3d742 100644 (file)
@@ -347,7 +347,6 @@ static void __init g3evm_init(void)
        gpio_request(GPIO_FN_IRDA_OUT, NULL);
        gpio_request(GPIO_FN_IRDA_IN, NULL);
        gpio_request(GPIO_FN_IRDA_FIRSEL, NULL);
-       set_irq_type(evt2irq(0x480), IRQ_TYPE_LEVEL_LOW);
 
        sh7367_add_standard_devices();