Remove pointless casts from void pointers

Mostly in and around irq handlers.

Signed-off-by: Jeff Garzik <[email protected]>
Cc: Russell King <[email protected]>
Cc: "Luck Tony" <[email protected]>
Cc: Roman Zippel <[email protected]>
Cc: Geert Uytterhoeven <[email protected]>
Cc: Paul Mackerras <[email protected]>
Cc: Benjamin Herrenschmidt <[email protected]>
Acked-by: Dmitry Torokhov <[email protected]>
Cc: Karsten Keil <[email protected]>
Acked-by: "John W. Linville" <[email protected]>
Cc: James Bottomley <[email protected]>
Cc: David Brownell <[email protected]>
Cc: "Antonino A. Daplas" <[email protected]>
Acked-by: Josh Boyer <[email protected]>
Acked-by: Holger Schurig <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
Jeff Garzik 2008-02-06 01:36:20 -08:00 • committed by Linus Torvalds
commit 15aafa2f9d
15 changed files with 21 additions and 23 deletions

View file

@ -498,8 +498,7 @@ static struct lcd_device *lcd_dev;
static irqreturn_t bfin_bf54x_irq_error(int irq, void *dev_id)
{
/*struct bfin_bf54xfb_info *info = (struct bfin_bf54xfb_info *)dev_id;*/
/*struct bfin_bf54xfb_info *info = dev_id;*/
u16 status = bfin_read_EPPI0_STATUS();

View file

@ -1971,7 +1971,7 @@ void intelfbhw_cursor_reset(struct intelfb_info *dinfo)
static irqreturn_t intelfbhw_irq(int irq, void *dev_id)
{
u16 tmp;
struct intelfb_info *dinfo = (struct intelfb_info *)dev_id;
struct intelfb_info *dinfo = dev_id;
spin_lock(&dinfo->int_lock);