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

parisc: Convert irq namespace

Convert to the new function names. Scripted with coccinelle.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Kyle McMartin <kyle@mcmartin.ca>
Cc: linux-parisc@vger.kernel.org

+11 -10
+6 -6
arch/parisc/kernel/irq.c
··· 235 235 { 236 236 if (irq_desc[irq].action) 237 237 return -EBUSY; 238 - if (get_irq_chip(irq) != &cpu_interrupt_type) 238 + if (irq_get_chip(irq) != &cpu_interrupt_type) 239 239 return -EBUSY; 240 240 241 241 /* for iosapic interrupts */ 242 242 if (type) { 243 - set_irq_chip_and_handler(irq, type, handle_percpu_irq); 244 - set_irq_chip_data(irq, data); 243 + irq_set_chip_and_handler(irq, type, handle_percpu_irq); 244 + irq_set_chip_data(irq, data); 245 245 __cpu_unmask_irq(irq); 246 246 } 247 247 return 0; ··· 393 393 { 394 394 int i; 395 395 for (i = CPU_IRQ_BASE; i <= CPU_IRQ_MAX; i++) { 396 - set_irq_chip_and_handler(i, &cpu_interrupt_type, 396 + irq_set_chip_and_handler(i, &cpu_interrupt_type, 397 397 handle_percpu_irq); 398 398 } 399 399 400 - set_irq_handler(TIMER_IRQ, handle_percpu_irq); 400 + irq_set_handler(TIMER_IRQ, handle_percpu_irq); 401 401 setup_irq(TIMER_IRQ, &timer_action); 402 402 #ifdef CONFIG_SMP 403 - set_irq_handler(IPI_IRQ, handle_percpu_irq); 403 + irq_set_handler(IPI_IRQ, handle_percpu_irq); 404 404 setup_irq(IPI_IRQ, &ipi_action); 405 405 #endif 406 406 }
+1 -1
drivers/parisc/eisa.c
··· 340 340 /* Reserve IRQ2 */ 341 341 setup_irq(2, &irq2_action); 342 342 for (i = 0; i < 16; i++) { 343 - set_irq_chip_and_handler(i, &eisa_interrupt_type, 343 + irq_set_chip_and_handler(i, &eisa_interrupt_type, 344 344 handle_simple_irq); 345 345 } 346 346
+2 -2
drivers/parisc/gsc.c
··· 152 152 if (irq > GSC_IRQ_MAX) 153 153 return NO_IRQ; 154 154 155 - set_irq_chip_and_handler(irq, type, handle_simple_irq); 156 - set_irq_chip_data(irq, data); 155 + irq_set_chip_and_handler(irq, type, handle_simple_irq); 156 + irq_set_chip_data(irq, data); 157 157 158 158 return irq++; 159 159 }
+2 -1
drivers/parisc/superio.c
··· 355 355 #endif 356 356 357 357 for (i = 0; i < 16; i++) { 358 - set_irq_chip_and_handler(i, &superio_interrupt_type, handle_simple_irq); 358 + irq_set_chip_and_handler(i, &superio_interrupt_type, 359 + handle_simple_irq); 359 360 } 360 361 361 362 /*