irqchip/nvic: Use irq_domain_translate_onecell instead of custom func
authorYash Shah <yash.shah@sifive.com>
Tue, 10 Dec 2019 11:11:10 +0000 (16:41 +0530)
committerMarc Zyngier <maz@kernel.org>
Mon, 20 Jan 2020 09:24:47 +0000 (09:24 +0000)
commit459c3bc8c497d6b665c2efd15ee7df0f4e19452a
tree93932c64bf0ea20636f6f2bceae080aea25ff505
parentb01ecceaf2c0c4b3f2d24aa0adcf096ab1648253
irqchip/nvic: Use irq_domain_translate_onecell instead of custom func

Make use of newly introduced irq_domain_translate_onecell() instead of
custom made function.

Signed-off-by: Yash Shah <yash.shah@sifive.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/1575976274-13487-3-git-send-email-yash.shah@sifive.com
drivers/irqchip/irq-nvic.c