soc: mediatek: mtk-svs: Switch to platform_get_irq()
authorAngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Tue, 26 Jul 2022 14:16:49 +0000 (16:16 +0200)
committerMatthias Brugger <matthias.bgg@gmail.com>
Thu, 25 Aug 2022 13:26:18 +0000 (15:26 +0200)
commit2efddd28a2c7ba0fd07720918e7929ffda5101eb
treeee7a8cf62c00b6ab045aa5f8cf1af6a9df56e047
parent61b55d8611e4080fdbe088cd3beaaabee71e0181
soc: mediatek: mtk-svs: Switch to platform_get_irq()

Instead of using irq_of_parse_and_map() to retrieve the interrupt from
devicetree, switch to platform_get_irq() instead: this function will
conveniently also write an error message in case the irq is not found.

Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Link: https://lore.kernel.org/r/20220726141653.177948-3-angelogioacchino.delregno@collabora.com
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
drivers/soc/mediatek/mtk-svs.c