]> rtime.felk.cvut.cz Git - linux-imx.git/commit
irqchip: sunxi: Make use of the IRQCHIP_DECLARE macro
authorMaxime Ripard <maxime.ripard@free-electrons.com>
Sun, 10 Mar 2013 14:54:46 +0000 (15:54 +0100)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Mon, 8 Apr 2013 19:42:27 +0000 (21:42 +0200)
commitf1dc6c4f77678979868fe220c6913890e13473d8
tree7c1e1c28537fe7dde8ed6708f8105dbe01fccaa4
parent119fd635e383c1a58990e5805acc29f48ed3e360
irqchip: sunxi: Make use of the IRQCHIP_DECLARE macro

This allows to remove some boilerplate code. At the same time, call the
set_handle_irq function in the initialization function of the irqchip,
so that we can remove it from the machine declaration.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
arch/arm/mach-sunxi/sunxi.c
drivers/irqchip/irq-sunxi.c
include/linux/irqchip/sunxi.h [deleted file]