sh: intc: Drop the use of irq_create_identity_mapping()
authorMarc Zyngier <maz@kernel.org>
Fri, 2 Apr 2021 14:58:21 +0000 (15:58 +0100)
committerMarc Zyngier <maz@kernel.org>
Wed, 7 Apr 2021 11:12:52 +0000 (12:12 +0100)
commiteef56c3a0492e4c1bc2a081da8f402a26d882489
tree4b1a0ef9b41230815a7029761069ad5b9c909e63
parent5fbecd2389f48e1415799c63130d0cdce1cf3f60
sh: intc: Drop the use of irq_create_identity_mapping()

Instead of playing games with using irq_create_identity_mapping()
and irq_domain_associate(), drop the use of the former and only
use the latter, together with the allocation of the irq_desc
as needed.

It doesn't make the code less awful, but at least the intent
is clearer.

Tested-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Marc Zyngier <maz@kernel.org>
drivers/sh/intc/core.c