irqchip: ingenic: Alloc generic chips from IRQ domain
authorPaul Cercueil <paul@crapouillou.net>
Wed, 2 Oct 2019 11:25:24 +0000 (19:25 +0800)
committerMarc Zyngier <maz@kernel.org>
Sun, 10 Nov 2019 18:55:30 +0000 (18:55 +0000)
commit8bc7464b5140218cb714abae55ea4cfe26b30c96
tree8203cbba4386d807fe6c4e7051c5e589a8e6d79c
parent208caadce5d4d38f48af965206bbd4473d265080
irqchip: ingenic: Alloc generic chips from IRQ domain

By creating the generic chips from the IRQ domain, we don't rely on the
JZ4740_IRQ_BASE macro. It also makes the code a bit cleaner.

Signed-off-by: Paul Cercueil <paul@crapouillou.net>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/1570015525-27018-5-git-send-email-zhouyanjie@zoho.com
drivers/irqchip/irq-ingenic.c