]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
irqdomain: Kill of_node_to_fwnode() helper
authorMarc Zyngier <maz@kernel.org>
Mon, 20 Oct 2025 12:29:42 +0000 (13:29 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Mon, 27 Oct 2025 16:16:37 +0000 (17:16 +0100)
There is no in-tree users of this helper since b13b41cc3dc18 ("misc:
ti_fpc202: Switch to of_fwnode_handle()"), and is replaced with
of_fwnode_handle().

Get rid of it.

Suggested-by: Jonathan Cameron <jonathan.cameron@huawei.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Tested-by: Will Deacon <will@kernel.org>
Link: https://patch.msgid.link/20251020122944.3074811-26-maz@kernel.org
include/linux/irqdomain.h

index 9d6a5e99394fac565952f03c25d2c7f20c9f8743..5907baf6099d9cc84ce8b2445e8ce9166f1f1896 100644 (file)
@@ -730,12 +730,6 @@ static inline void msi_device_domain_free_wired(struct irq_domain *domain, unsig
 }
 #endif
 
-/* Deprecated functions. Will be removed in the merge window */
-static inline struct fwnode_handle *of_node_to_fwnode(struct device_node *node)
-{
-       return node ? &node->fwnode : NULL;
-}
-
 static inline struct irq_domain *irq_domain_add_tree(struct device_node *of_node,
                                                     const struct irq_domain_ops *ops,
                                                     void *host_data)