irqchip/sunxi-nmi: Convert magic numbers to defines
authorChen-Yu Tsai <wens@csie.org>
Tue, 6 Jun 2017 05:59:23 +0000 (13:59 +0800)
committerMarc Zyngier <marc.zyngier@arm.com>
Thu, 22 Jun 2017 13:06:08 +0000 (14:06 +0100)
commit9ce18f6f0b0c7463fcdce70c35db17a891adc90d
tree54d55424e2223670e274b6700ba6e93e634b91a1
parent3c2993b8c6143d8a5793746a54eba8f86f95240f
irqchip/sunxi-nmi: Convert magic numbers to defines

The sunxi-nmi driver has a bunch of raw register offsets and bit values.

Convert them into define macros for better readability.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
drivers/irqchip/irq-sunxi-nmi.c