irqchip/renesas-intc-irqpin: Move PM device over to irq domain

JIRA: https://issues.redhat.com/browse/RHEL-34056

commit c2ea6b9b03c1acde89c6100aff894e64386e72cc
Author: Marc Zyngier <maz@kernel.org>
Date:   Tue Feb 1 12:03:01 2022 +0000

    irqchip/renesas-intc-irqpin: Move PM device over to irq domain

    Move the reference to the device over to the irq domain.

    Signed-off-by: Marc Zyngier <maz@kernel.org>
    Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
    Tested-by: Geert Uytterhoeven <geert+renesas@glider.be>
    Acked-by: Bartosz Golaszewski <brgl@bgdev.pl>
    Link: https://lore.kernel.org/r/20220201120310.878267-4-maz@kernel.org

Signed-off-by: Radu Rendec <rrendec@redhat.com>
This commit is contained in:
Radu Rendec 2024-04-24 11:13:39 -04:00
parent ec65b4a137
commit 4b04aa6f07
1 changed files with 2 additions and 1 deletions

View File

@ -507,7 +507,6 @@ static int intc_irqpin_probe(struct platform_device *pdev)
irq_chip = &p->irq_chip;
irq_chip->name = "intc-irqpin";
irq_chip->parent_device = dev;
irq_chip->irq_mask = disable_fn;
irq_chip->irq_unmask = enable_fn;
irq_chip->irq_set_type = intc_irqpin_irq_set_type;
@ -522,6 +521,8 @@ static int intc_irqpin_probe(struct platform_device *pdev)
goto err0;
}
irq_domain_set_pm_device(p->irq_domain, dev);
if (p->shared_irqs) {
/* request one shared interrupt */
if (devm_request_irq(dev, p->irq[0].requested_irq,