linux/arch/arm/plat-orion
Arnd Bergmann fe158a17c1 ARM: orion: simplify orion_ge00_switch_init
One of the last users of NO_IRQ on ARM is the switch initialization
code on orion5x, which sometimes passes a GPIO based IRQ number.

However, the driver doesn't actually use this number, and according
to Andrew Lunn never will do it for non-DT based machines, so
we can simply drop the irq argument.

Simplifying it further, we can also drop the static platform_device
and instead call platform_device_register_data(), which in turn
lets us mark the platform_data structures as __initdata and slightly
reduce the memory consumption.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
2016-09-14 16:36:13 +02:00
..
include/plat ARM: orion: simplify orion_ge00_switch_init 2016-09-14 16:36:13 +02:00
Makefile Removal of GENERIC_GPIO for v3.10 2013-05-09 09:59:16 -07:00
common.c ARM: orion: simplify orion_ge00_switch_init 2016-09-14 16:36:13 +02:00
gpio.c ARM: plat-orion: use gpiochip data pointer 2016-02-19 09:51:42 +01:00
irq.c ARM: orion: always use MULTI_IRQ_HANDLER 2015-12-07 18:16:42 +01:00
mpp.c ARM: orion: always use MULTI_IRQ_HANDLER 2015-12-07 18:16:42 +01:00
pcie.c arm: plat-orion: use mv_mbus_dram_info() in PCIe code 2013-03-17 18:03:44 +00:00
time.c ARM: orion: implement ARM delay timer 2016-01-26 23:45:05 +00:00