Skip to content

Commit 80bb29f

Browse files
Jiri Slaby (SUSE)ij-intel
authored andcommitted
irqdomain: platform/x86: Switch to irq_domain_create_linear()
irq_domain_add_linear() is going away as being obsolete now. Switch to the preferred irq_domain_create_linear(). That differs in the first parameter: It takes more generic struct fwnode_handle instead of struct device_node. The first parameter is NULL here so nothing else needs to be done. Signed-off-by: Jiri Slaby (SUSE) <[email protected]> Link: https://lore.kernel.org/r/[email protected] [ij: Removed unnecessary details from the commit message.] Reviewed-by: Ilpo Järvinen <[email protected]> Signed-off-by: Ilpo Järvinen <[email protected]>
1 parent 01db3d1 commit 80bb29f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/platform/x86/asus-tf103c-dock.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -856,7 +856,7 @@ static int tf103c_dock_probe(struct i2c_client *client)
856856
/* 5. Setup irqchip for touchpad IRQ pass-through */
857857
dock->tp_irqchip.name = KBUILD_MODNAME;
858858

859-
dock->tp_irq_domain = irq_domain_add_linear(NULL, 1, &irq_domain_simple_ops, NULL);
859+
dock->tp_irq_domain = irq_domain_create_linear(NULL, 1, &irq_domain_simple_ops, NULL);
860860
if (!dock->tp_irq_domain)
861861
return -ENOMEM;
862862

0 commit comments

Comments
 (0)