ARM: mv78xx0: simplify ethernet device creation
authorArnd Bergmann <arnd@arndb.de>
Tue, 6 Sep 2016 14:06:20 +0000 (16:06 +0200)
committerGregory CLEMENT <gregory.clement@free-electrons.com>
Wed, 14 Sep 2016 14:35:37 +0000 (16:35 +0200)
commit7d619d8ae06e747c602034b0c681f0ff5d96f030
treed7b954acc96ebc75eb59c384fe06da05b712c8c8
parent29b4817d4018df78086157ea3a55c1d9424a7cfc
ARM: mv78xx0: simplify ethernet device creation

Out of the four ethernet devices on mv78xx0, only the first one
has an error interrupt line, for the other ones we pass NO_IRQ
and then ignore the argument.

In order to get closer to complete remove of NO_IRQ, this simply
drops the unused function arguments.

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-mv78xx0/common.c
arch/arm/plat-orion/common.c
arch/arm/plat-orion/include/plat/common.h