soc: fsl: qe_ports_ic: switch to irq_domain_create_linear()

irq_domain_add_linear() is about to be removed, replace by the
more generic irq_domain_create_linear(),
see commit 42b8b16fe5 ("irqdomain: Drop irq_domain_add_*()
functions") for details.

Link: https://lore.kernel.org/r/a9de2f351ea71e4b794baaea8d9d790fbfac8d26.1774391374.git.chleroy@kernel.org
Signed-off-by: Christophe Leroy (CS GROUP) <chleroy@kernel.org>
This commit is contained in:
Christophe Leroy (CS GROUP)
2026-03-24 23:34:16 +01:00
parent 7dad18a179
commit 7b9233b251

View File

@@ -118,7 +118,7 @@ static int qepic_probe(struct platform_device *pdev)
if (data->irq < 0)
return data->irq;
data->host = irq_domain_add_linear(dev->of_node, 32, &qepic_host_ops, data);
data->host = irq_domain_create_linear(dev_fwnode(dev), 32, &qepic_host_ops, data);
if (!data->host)
return -ENODEV;