Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: orion5x: remove extraneous NO_IRQ

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>

authored by

Arnd Bergmann and committed by
Gregory CLEMENT
77a1c68a fe158a17

-1
-1
arch/arm/mach-orion5x/rd88f6183ap-ge-setup.c
··· 71 71 { 72 72 .modalias = "m25p80", 73 73 .platform_data = &rd88f6183ap_ge_spi_slave_data, 74 - .irq = NO_IRQ, 75 74 .max_speed_hz = 20000000, 76 75 .bus_num = 0, 77 76 .chip_select = 0,