ARM: mvebu/orion: remove NO_IRQ check from device init
authorArnd Bergmann <arnd@arndb.de>
Tue, 6 Sep 2016 14:06:21 +0000 (16:06 +0200)
committerGregory CLEMENT <gregory.clement@free-electrons.com>
Wed, 14 Sep 2016 14:35:50 +0000 (16:35 +0200)
commit93a753bdc1b77e01721c709761fb796a33455a53
treeb8e9b6289f858dfced8e9963eafa4dfb35d7d0c6
parent7d619d8ae06e747c602034b0c681f0ff5d96f030
ARM: mvebu/orion: remove NO_IRQ check from device init

For most devices, we know in advance whether they have an
interrupt line or not, so we can avoid passing NO_IRQ and
instead split fill_resources() into two interfaces, with
only the new fill_resources_irq() function taking an irq
argument, which it then can use unconditionally.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
arch/arm/plat-orion/common.c