IRQ: Use the new typedef for interrupt handler function pointers
authorDavid Howells <dhowells@redhat.com>
Mon, 9 Oct 2006 11:19:47 +0000 (12:19 +0100)
committerDavid Howells <dhowells@redhat.com>
Mon, 9 Oct 2006 11:19:47 +0000 (12:19 +0100)
commit40220c1a192f51695f806d75b1f9970f0f17a6e8
tree86623a8c361420c22c6511b20770057fd9c9881d
parent58ba81dba77eab43633ea47d82e96245ae3ff666
IRQ: Use the new typedef for interrupt handler function pointers

Use the new typedef for interrupt handler function pointers rather than
actually spelling out the full thing each time.  This was scripted with the
following small shell script:

#!/bin/sh
egrep -nHrl -e 'irqreturn_t[  ]*[(][*]' $* |
while read i
do
    echo $i
    perl -pi -e 's/irqreturn_t\s*[(]\s*[*]\s*([_a-zA-Z0-9]*)\s*[)]\s*[(]\s*int\s*,\s*void\s*[*]\s*[)]/irq_handler_t \1/g' $i || exit $?
done

Signed-Off-By: David Howells <dhowells@redhat.com>
46 files changed:
arch/arm/mach-pxa/corgi.c
arch/arm/mach-pxa/idp.c
arch/arm/mach-pxa/lubbock.c
arch/arm/mach-pxa/mainstone.c
arch/arm/mach-pxa/poodle.c
arch/arm/mach-pxa/spitz.c
arch/arm/mach-pxa/tosa.c
arch/arm/mach-pxa/trizeps4.c
arch/ia64/hp/sim/simserial.c
arch/m68k/amiga/config.c
arch/m68k/apollo/config.c
arch/m68k/atari/config.c
arch/m68k/atari/stdma.c
arch/m68k/atari/time.c
arch/m68k/bvme6000/config.c
arch/m68k/hp300/time.c
arch/m68k/hp300/time.h
arch/m68k/kernel/ints.c
arch/m68k/kernel/setup.c
arch/m68k/mac/config.c
arch/m68k/mac/via.c
arch/m68k/mvme147/config.c
arch/m68k/mvme16x/config.c
arch/m68k/q40/config.c
arch/m68k/q40/q40ints.c
arch/m68k/sun3/config.c
arch/m68k/sun3x/time.c
arch/m68k/sun3x/time.h
arch/mips/au1000/common/dma.c
arch/mips/au1000/common/irq.c
arch/mips/au1000/common/time.c
arch/powerpc/kernel/ibmebus.c
arch/sparc/kernel/irq.c
arch/sparc/kernel/sun4c_irq.c
arch/sparc/kernel/sun4d_irq.c
arch/sparc/kernel/sun4m_irq.c
arch/sparc/kernel/tick14.c
arch/um/include/irq_kern.h
arch/um/kernel/irq.c
include/asm-arm/arch-pxa/mmc.h
include/asm-m68k/atari_stdma.h
include/asm-m68k/ide.h
include/asm-m68k/machdep.h
include/asm-mips/mach-au1x00/au1000_dma.h
include/asm-powerpc/ibmebus.h
include/asm-sparc/irq.h