summaryrefslogtreecommitdiffstats
path: root/drivers/iommu/ipmmu-vmsa.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/iommu/ipmmu-vmsa.c')
-rw-r--r--drivers/iommu/ipmmu-vmsa.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/iommu/ipmmu-vmsa.c b/drivers/iommu/ipmmu-vmsa.c
index 237103465b82..2639fc718117 100644
--- a/drivers/iommu/ipmmu-vmsa.c
+++ b/drivers/iommu/ipmmu-vmsa.c
@@ -1105,10 +1105,8 @@ static int ipmmu_probe(struct platform_device *pdev)
1105 /* Root devices have mandatory IRQs */ 1105 /* Root devices have mandatory IRQs */
1106 if (ipmmu_is_root(mmu)) { 1106 if (ipmmu_is_root(mmu)) {
1107 irq = platform_get_irq(pdev, 0); 1107 irq = platform_get_irq(pdev, 0);
1108 if (irq < 0) { 1108 if (irq < 0)
1109 dev_err(&pdev->dev, "no IRQ found\n");
1110 return irq; 1109 return irq;
1111 }
1112 1110
1113 ret = devm_request_irq(&pdev->dev, irq, ipmmu_irq, 0, 1111 ret = devm_request_irq(&pdev->dev, irq, ipmmu_irq, 0,
1114 dev_name(&pdev->dev), mmu); 1112 dev_name(&pdev->dev), mmu);