Catégorie : Linux

mfd: jz4740: Consolidate chained IRQ handler install/remove

Author: Thomas Gleixner <tglx@linutronix.de> Chained irq handlers usually set up handler data as well. We now have a function to set both under irq_desc->lock. Replace the two calls with one. Search and conversion was done with coccinelle: Reported-by: Russell King Signed-off-by: Thomas Gleixner Signed-off-by: Lee Jones — drivers/mfd/jz4740-adc.c | 6 ++—- 1 file changed, 2 …

Lire la suite

mfd: htc-egpio: Consolidate chained IRQ handler install/remove

Author: Thomas Gleixner <tglx@linutronix.de> Chained irq handlers usually set up handler data as well. We now have a function to set both under irq_desc->lock. Replace the two calls with one. Search and conversion was done with coccinelle: Reported-by: Russell King Signed-off-by: Thomas Gleixner Signed-off-by: Lee Jones — drivers/mfd/htc-egpio.c | 4 ++– 1 file changed, 2 …

Lire la suite

mfd: ezx-pcap: Consolidate chained IRQ handler install/remove

Author: Thomas Gleixner <tglx@linutronix.de> Chained irq handlers usually set up handler data as well. We now have a function to set both under irq_desc->lock. Replace the two calls with one. Search and conversion was done with coccinelle. Reported-by: Russell King Signed-off-by: Thomas Gleixner Signed-off-by: Lee Jones — drivers/mfd/ezx-pcap.c | 3 +– 1 file changed, 1 …

Lire la suite

dmaengine: ipu: Consolidate chained IRQ handler install/remove

Author: Thomas Gleixner <tglx@linutronix.de> Chained irq handlers usually set up handler data as well. We now have a function to set both under irq_desc->lock. Replace the two calls with one. Search and conversion was done with coccinelle. Reported-by: Russell King Signed-off-by: Thomas Gleixner Cc: Julia Lawall Cc: Dan Williams Cc: Vinod Koul Cc: dmaengine@vger.kernel.org Signed-off-by: …

Lire la suite

C6X/meagmod-pic: Consolidate chained IRQ handler install/remove

Author: Thomas Gleixner <tglx@linutronix.de> Chained irq handlers usually set up handler data as well. We now have a function to set both under irq_desc->lock. Replace the two calls with one. Search and conversion was done with coccinelle. Reported-by: Russell King Signed-off-by: Thomas Gleixner Cc: Mark Salter Cc: Aurelien Jacquiot Cc: linux-c6x-dev@linux-c6x.org Cc: Julia Lawall Link: …

Lire la suite

blackfin/irq: Use irq_set_handler_locked()

Author: Thomas Gleixner <tglx@linutronix.de> Use irq_set_handler_locked() as it avoids a redundant lookup of the irq descriptor. Search and update was done with coccinelle. Signed-off-by: Thomas Gleixner Cc: Steven Miao Cc: Jiang Liu Cc: Julia Lawall Cc: adi-buildroot-devel@lists.sourceforge.net Link: http://lkml.kernel.org/r/20150713125611.731615902@linutronix.de Signed-off-by: Thomas Gleixner — arch/blackfin/mach-common/ints-priority.c | 8 ++++—- 1 file changed, 4 insertions(+), 4 deletions(-)   …

Lire la suite

avr32/at32ap: Use irq_set_handler_locked()

Author: Thomas Gleixner <tglx@linutronix.de> Use irq_set_handler_locked() as it avoids a redundant lookup of the irq descriptor. Search and replacement was done with coccinelle. Signed-off-by: Thomas Gleixner Acked-by: Hans-Christian Egtvedt Cc: Haavard Skinnemoen Cc: Jiang Liu Cc: Julia Lawall Link: http://lkml.kernel.org/r/20150713100606.448031045@linutronix.de Signed-off-by: Thomas Gleixner — arch/avr32/mach-at32ap/extint.c | 4 ++– 1 file changed, 2 insertions(+), 2 deletions(-) …

Lire la suite

avr32/at32ap: Consolidate chained IRQ handler install/remove

Author: Thomas Gleixner <tglx@linutronix.de> Chained irq handlers usually set up handler data as well. We now have a function to set both under irq_desc->lock. Replace the two calls with one. Search and conversion was done with coccinelle. Reported-by: Russell King Signed-off-by: Thomas Gleixner Acked-by: Hans-Christian Egtvedt Cc: Haavard Skinnemoen Cc: Jiang Liu Cc: Julia Lawall …

Lire la suite

ARM/orion/gpio: Prepare gpio_irq_handler for irq argument removal

Author: Thomas Gleixner <tglx@linutronix.de> The irq argument of most interrupt flow handlers is unused or merily used instead of a local variable. The handlers which need the irq argument can retrieve the irq number from the irq descriptor. In this case the irq argument is shadowed by a local variable already, so just rename it. …

Lire la suite

ARM/pxa: Prepare *_irq_handler for irq argument removal

Author: Thomas Gleixner <tglx@linutronix.de> The irq argument of most interrupt flow handlers is unused or merily used instead of a local variable. The handlers which need the irq argument can retrieve the irq number from the irq descriptor. Search and update was done with coccinelle and the invaluable help of Julia Lawall. Signed-off-by: Thomas Gleixner …

Lire la suite