ARM: sa1111: clean up duplication in IRQ chip implementation
authorRussell King <rmk+kernel@armlinux.org.uk>
Tue, 6 Sep 2016 17:43:28 +0000 (18:43 +0100)
committerRussell King <rmk+kernel@armlinux.org.uk>
Tue, 20 Sep 2016 13:21:08 +0000 (14:21 +0100)
commit1629c9ab3679908d2e18ca306df1f07f48713f6b
treead2d296385fbe237317c26305c127ac3b09d139d
parent17cf50116e10affaadfee9af2253c841f7ac0623
ARM: sa1111: clean up duplication in IRQ chip implementation

Clean up the duplication in the IRQ chip implementation - we can compute
the register address from the interrupt number rather than duplicating
the code for each register.

Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
arch/arm/common/sa1111.c