Eliminate pointless casts from void* in a few driver irq handlers.

Signed-off-by: Jeff Garzik <jgarzik@redhat.com>

+10 -9
+3 -2
drivers/atm/horizon.c
··· 1382 1382 1383 1383 /********** interrupt handler **********/ 1384 1384 1385 - static irqreturn_t interrupt_handler(int irq, void *dev_id) { 1386 - hrz_dev * dev = (hrz_dev *) dev_id; 1385 + static irqreturn_t interrupt_handler(int irq, void *dev_id) 1386 + { 1387 + hrz_dev *dev = dev_id; 1387 1388 u32 int_source; 1388 1389 unsigned int irq_ok; 1389 1390
+2 -2
drivers/char/tpm/tpm_tis.c
··· 381 381 382 382 static irqreturn_t tis_int_probe(int irq, void *dev_id) 383 383 { 384 - struct tpm_chip *chip = (struct tpm_chip *) dev_id; 384 + struct tpm_chip *chip = dev_id; 385 385 u32 interrupt; 386 386 387 387 interrupt = ioread32(chip->vendor.iobase + ··· 401 401 402 402 static irqreturn_t tis_int_handler(int irq, void *dev_id) 403 403 { 404 - struct tpm_chip *chip = (struct tpm_chip *) dev_id; 404 + struct tpm_chip *chip = dev_id; 405 405 u32 interrupt; 406 406 int i; 407 407
+1 -1
drivers/mtd/onenand/onenand_base.c
··· 359 359 */ 360 360 static irqreturn_t onenand_interrupt(int irq, void *data) 361 361 { 362 - struct onenand_chip *this = (struct onenand_chip *) data; 362 + struct onenand_chip *this = data; 363 363 364 364 /* To handle shared interrupt */ 365 365 if (!this->complete.done)
+1 -1
drivers/net/typhoon.c
··· 1801 1801 static irqreturn_t 1802 1802 typhoon_interrupt(int irq, void *dev_instance) 1803 1803 { 1804 - struct net_device *dev = (struct net_device *) dev_instance; 1804 + struct net_device *dev = dev_instance; 1805 1805 struct typhoon *tp = dev->priv; 1806 1806 void __iomem *ioaddr = tp->ioaddr; 1807 1807 u32 intr_status;
+1 -1
drivers/net/ucc_geth.c
··· 3607 3607 3608 3608 static irqreturn_t ucc_geth_irq_handler(int irq, void *info) 3609 3609 { 3610 - struct net_device *dev = (struct net_device *)info; 3610 + struct net_device *dev = info; 3611 3611 struct ucc_geth_private *ugeth = netdev_priv(dev); 3612 3612 struct ucc_fast_private *uccf; 3613 3613 struct ucc_geth_info *ug_info;
+2 -2
drivers/net/wan/sbni.c
··· 502 502 static irqreturn_t 503 503 sbni_interrupt( int irq, void *dev_id ) 504 504 { 505 - struct net_device *dev = (struct net_device *) dev_id; 506 - struct net_local *nl = (struct net_local *) dev->priv; 505 + struct net_device *dev = dev_id; 506 + struct net_local *nl = dev->priv; 507 507 int repeat; 508 508 509 509 spin_lock( &nl->lock );