]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
x86/io_apic: Switch to of_fwnode_handle()
authorJiri Slaby (SUSE) <jirislaby@kernel.org>
Wed, 19 Mar 2025 09:29:03 +0000 (10:29 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Fri, 16 May 2025 19:06:08 +0000 (21:06 +0200)
of_node_to_fwnode() is irqdomain's reimplementation of the "officially"
defined of_fwnode_handle(). The former is in the process of being
removed, so use the latter instead.

[ tglx: Fix up subject prefix ]

Signed-off-by: Jiri Slaby (SUSE) <jirislaby@kernel.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/all/20250319092951.37667-11-jirislaby@kernel.org
arch/x86/kernel/apic/io_apic.c

index eebc360ed1bbf449c806c7cb6a9d8882e33c4f12..487992cb0836ad1c088dc023963dd5f7c954fdd8 100644 (file)
@@ -2225,7 +2225,7 @@ static int mp_irqdomain_create(int ioapic)
 
        /* Handle device tree enumerated APICs proper */
        if (cfg->dev) {
-               fn = of_node_to_fwnode(cfg->dev);
+               fn = of_fwnode_handle(cfg->dev);
        } else {
                fn = irq_domain_alloc_named_id_fwnode("IO-APIC", mpc_ioapic_id(ioapic));
                if (!fn)