Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

mips: netlogic: Use irq_domain_simple_ops for XLP PIC

Use the generic irq_domain_simple_ops structure instead of
a home-grown one.

Acked-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Signed-off-by: Marc Zyngier <maz@kernel.org>

+1 -5
+1 -5
arch/mips/netlogic/common/irq.c
··· 276 276 } 277 277 278 278 #ifdef CONFIG_CPU_XLP 279 - static const struct irq_domain_ops xlp_pic_irq_domain_ops = { 280 - .xlate = irq_domain_xlate_onetwocell, 281 - }; 282 - 283 279 static int __init xlp_of_pic_init(struct device_node *node, 284 280 struct device_node *parent) 285 281 { ··· 320 324 321 325 xlp_pic_domain = irq_domain_add_legacy(node, n_picirqs, 322 326 nlm_irq_to_xirq(socid, PIC_IRQ_BASE), PIC_IRQ_BASE, 323 - &xlp_pic_irq_domain_ops, NULL); 327 + &irq_domain_simple_ops, NULL); 324 328 if (xlp_pic_domain == NULL) { 325 329 pr_err("PIC %pOFn: Creating legacy domain failed!\n", node); 326 330 return -EINVAL;