]> err.no Git - linux-2.6/commit
[netdrvr] irq handler minor cleanups in several drivers
authorJeff Garzik <jeff@garzik.org>
Mon, 29 Oct 2007 09:46:16 +0000 (05:46 -0400)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jan 2008 23:03:40 +0000 (15:03 -0800)
commit28fc1f5a0c375cb6375fa48e9a8b393f2a189be6
tree95b3b517b02dd46ff0fc2728c1e70de8d6f78ed3
parent1b36efe07f83ecf50eddd431d067c7bf86318e87
[netdrvr] irq handler minor cleanups in several drivers

* use irq_handler_t where appropriate

* no need to use 'irq' function arg, its already stored in a data struct

* rename irq handler 'irq' argument to 'dummy', where the function
  has been analyzed and proven not to use its first argument.

* remove always-false "dev_id == NULL" test from irq handlers

* remove pointless casts from void*

* declance: irq argument is not const

* add KERN_xxx printk prefix

* fix minor whitespace weirdness

Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
19 files changed:
arch/ia64/hp/sim/simeth.c
arch/ppc/8260_io/enet.c
arch/ppc/8260_io/fcc_enet.c
drivers/net/cpmac.c
drivers/net/declance.c
drivers/net/eexpress.c
drivers/net/ibmlana.c
drivers/net/irda/irport.h
drivers/net/irda/smsc-ircc2.c
drivers/net/irda/via-ircc.c
drivers/net/ixgbe/ixgbe_main.c
drivers/net/lp486e.c
drivers/net/pcmcia/fmvj18x_cs.c
drivers/net/ucc_geth.c
drivers/net/wan/farsync.c
drivers/net/wan/sdla.c
drivers/net/wireless/airo.c
drivers/net/wireless/hostap/hostap_hw.c
drivers/net/wireless/libertas/if_cs.c