ARM: orion5x: remove extraneous NO_IRQ
authorArnd Bergmann <arnd@arndb.de>
Tue, 6 Sep 2016 14:06:23 +0000 (16:06 +0200)
committerGregory CLEMENT <gregory.clement@free-electrons.com>
Wed, 14 Sep 2016 14:36:20 +0000 (16:36 +0200)
rd88f6183ap-ge passes NO_IRQ as the interrupt line for its m25p80
NOR flash. However, this device never uses an interrupt and the
driver doesn't care, so we can simply remove the deprecated constant
here.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
arch/arm/mach-orion5x/rd88f6183ap-ge-setup.c

index f2db56d..67ee857 100644 (file)
@@ -71,7 +71,6 @@ static struct spi_board_info __initdata rd88f6183ap_ge_spi_slave_info[] = {
        {
                .modalias       = "m25p80",
                .platform_data  = &rd88f6183ap_ge_spi_slave_data,
-               .irq            = NO_IRQ,
                .max_speed_hz   = 20000000,
                .bus_num        = 0,
                .chip_select    = 0,