[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <174662546512.406.9049404596433242775.tip-bot2@tip-bot2>
Date: Wed, 07 May 2025 13:44:25 -0000
From: "tip-bot2 for Jiri Slaby (SUSE)" <tip-bot2@...utronix.de>
To: linux-tip-commits@...r.kernel.org
Cc: "Jiri Slaby (SUSE)" <jirislaby@...nel.org>,
Thomas Gleixner <tglx@...utronix.de>, x86@...nel.org,
linux-kernel@...r.kernel.org
Subject:
[tip: irq/drivers] irqchip/irq-vt8500: Switch to irq_domain_create_*()
The following commit has been merged into the irq/drivers branch of tip:
Commit-ID: 15568ffd59d4e7d8c39286a7159880afe327216d
Gitweb: https://git.kernel.org/tip/15568ffd59d4e7d8c39286a7159880afe327216d
Author: Jiri Slaby (SUSE) <jirislaby@...nel.org>
AuthorDate: Wed, 19 Mar 2025 10:29:14 +01:00
Committer: Thomas Gleixner <tglx@...utronix.de>
CommitterDate: Wed, 07 May 2025 15:36:56 +02:00
irqchip/irq-vt8500: Switch to irq_domain_create_*()
irq_domain_add_*() interfaces are going away as being obsolete now.
Switch to the preferred irq_domain_create_*() ones. Those differ in the
node parameter: They take more generic struct fwnode_handle instead of
struct device_node. Therefore, of_fwnode_handle() is added around the
original parameter.
Note some of the users can likely use dev->fwnode directly instead of
indirect of_fwnode_handle(dev->of_node). But dev->fwnode is not
guaranteed to be set for all, so this has to be investigated on case to
case basis (by people who can actually test with the HW).
[ tglx: Split out from combo patch to avoid merge conflicts ]
Signed-off-by: Jiri Slaby (SUSE) <jirislaby@...nel.org>
Signed-off-by: Thomas Gleixner <tglx@...utronix.de>
Link: https://lore.kernel.org/all/20250319092951.37667-22-jirislaby@kernel.org
---
drivers/irqchip/irq-vt8500.c | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/drivers/irqchip/irq-vt8500.c b/drivers/irqchip/irq-vt8500.c
index 40c2cff..3b74259 100644
--- a/drivers/irqchip/irq-vt8500.c
+++ b/drivers/irqchip/irq-vt8500.c
@@ -214,10 +214,8 @@ static int __init vt8500_irq_init(struct device_node *node,
goto err_free;
}
- intc->domain = irq_domain_add_linear(node,
- 64,
- &vt8500_irq_domain_ops,
- intc);
+ intc->domain = irq_domain_create_linear(of_fwnode_handle(node), 64,
+ &vt8500_irq_domain_ops, intc);
if (!intc->domain) {
pr_err("%s: Unable to add irq domain!\n", __func__);
ret = -ENOMEM;
Powered by blists - more mailing lists