xen: Cleanup genirq namespace

Converted with coccinelle.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>

+11 -11
+11 -11
drivers/xen/events.c
··· 122 /* Get info for IRQ */ 123 static struct irq_info *info_for_irq(unsigned irq) 124 { 125 - return get_irq_data(irq); 126 } 127 128 /* Constructors for packed IRQ information. */ ··· 403 404 info->type = IRQT_UNBOUND; 405 406 - set_irq_data(irq, info); 407 408 list_add_tail(&info->list, &xen_irq_list_head); 409 } ··· 458 459 static void xen_free_irq(unsigned irq) 460 { 461 - struct irq_info *info = get_irq_data(irq); 462 463 list_del(&info->list); 464 465 - set_irq_data(irq, NULL); 466 467 kfree(info); 468 ··· 639 if (irq < 0) 640 goto out; 641 642 - set_irq_chip_and_handler_name(irq, &xen_pirq_chip, 643 - handle_level_irq, name); 644 645 irq_op.irq = irq; 646 irq_op.vector = 0; ··· 690 if (irq == -1) 691 goto out; 692 693 - set_irq_chip_and_handler_name(irq, &xen_pirq_chip, 694 - handle_level_irq, name); 695 696 xen_irq_info_pirq_init(irq, 0, pirq, 0, vector, 0); 697 ret = irq_set_msi_desc(irq, msidesc); ··· 772 if (irq == -1) 773 goto out; 774 775 - set_irq_chip_and_handler_name(irq, &xen_dynamic_chip, 776 handle_fasteoi_irq, "event"); 777 778 xen_irq_info_evtchn_init(irq, evtchn); ··· 799 if (irq < 0) 800 goto out; 801 802 - set_irq_chip_and_handler_name(irq, &xen_percpu_chip, 803 handle_percpu_irq, "ipi"); 804 805 bind_ipi.vcpu = cpu; ··· 848 if (irq == -1) 849 goto out; 850 851 - set_irq_chip_and_handler_name(irq, &xen_percpu_chip, 852 handle_percpu_irq, "virq"); 853 854 bind_virq.virq = virq;
··· 122 /* Get info for IRQ */ 123 static struct irq_info *info_for_irq(unsigned irq) 124 { 125 + return irq_get_handler_data(irq); 126 } 127 128 /* Constructors for packed IRQ information. */ ··· 403 404 info->type = IRQT_UNBOUND; 405 406 + irq_set_handler_data(irq, info); 407 408 list_add_tail(&info->list, &xen_irq_list_head); 409 } ··· 458 459 static void xen_free_irq(unsigned irq) 460 { 461 + struct irq_info *info = irq_get_handler_data(irq); 462 463 list_del(&info->list); 464 465 + irq_set_handler_data(irq, NULL); 466 467 kfree(info); 468 ··· 639 if (irq < 0) 640 goto out; 641 642 + irq_set_chip_and_handler_name(irq, &xen_pirq_chip, handle_level_irq, 643 + name); 644 645 irq_op.irq = irq; 646 irq_op.vector = 0; ··· 690 if (irq == -1) 691 goto out; 692 693 + irq_set_chip_and_handler_name(irq, &xen_pirq_chip, handle_level_irq, 694 + name); 695 696 xen_irq_info_pirq_init(irq, 0, pirq, 0, vector, 0); 697 ret = irq_set_msi_desc(irq, msidesc); ··· 772 if (irq == -1) 773 goto out; 774 775 + irq_set_chip_and_handler_name(irq, &xen_dynamic_chip, 776 handle_fasteoi_irq, "event"); 777 778 xen_irq_info_evtchn_init(irq, evtchn); ··· 799 if (irq < 0) 800 goto out; 801 802 + irq_set_chip_and_handler_name(irq, &xen_percpu_chip, 803 handle_percpu_irq, "ipi"); 804 805 bind_ipi.vcpu = cpu; ··· 848 if (irq == -1) 849 goto out; 850 851 + irq_set_chip_and_handler_name(irq, &xen_percpu_chip, 852 handle_percpu_irq, "virq"); 853 854 bind_virq.virq = virq;