arm: orion: Use generic irq chip
authorThomas Gleixner <tglx@linutronix.de>
Thu, 14 Apr 2011 17:17:57 +0000 (19:17 +0200)
committerNicolas Pitre <nico@fluxnic.net>
Mon, 16 May 2011 18:34:54 +0000 (14:34 -0400)
commite59347a1d15c0b1d9fdc510520f8fa78d7d19a5b
tree64930470ac9dbf427ab5b7ec6d2d290fbb61f373
parentcfefd21e693dca791bf9ecfc9dd3794facad533c
arm: orion: Use generic irq chip

The core interrupt chip is a straight forward conversion. The gpio
chip is implemented with two instances of the irq_chip_type which can
be switched with the irq_set_type function. That allows us to use the
generic callbacks and avoids the conditionals in them.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Nicolas Pitre <nico@fluxnic.net>
arch/arm/plat-orion/gpio.c
arch/arm/plat-orion/include/plat/gpio.h
arch/arm/plat-orion/irq.c