ARM: amba: ux500: get rid of NO_IRQ
authorRussell King <rmk+kernel@arm.linux.org.uk>
Sun, 18 Dec 2011 11:33:59 +0000 (11:33 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 25 Jan 2012 11:02:02 +0000 (11:02 +0000)
irq 0 now means no irq, so get rid of this unnecessary initializer.

Acked-by: srinidhi kasagar <srinidhi.kasagar@stericsson.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-ux500/devices-common.c

index e8c34fabc3c75cb68eb4485d943c17b60ff0b13a..898a64517b09ecc1386bd1e2e23d938cc4b6e72c 100644 (file)
@@ -34,7 +34,6 @@ dbx500_add_amba_device(const char *name, resource_size_t base,
        dev->dev.coherent_dma_mask = DMA_BIT_MASK(32);
 
        dev->irq[0] = irq;
-       dev->irq[1] = NO_IRQ;
 
        dev->periphid = periphid;