[MTD] [NAND] Blackfin NFC Driver: drop pointless casts with set_dma_callback()
authorMike Frysinger <vapier.adi@gmail.com>
Wed, 4 Mar 2009 20:01:30 +0000 (12:01 -0800)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Fri, 20 Mar 2009 12:18:04 +0000 (12:18 +0000)
Signed-off-by: Mike Frysinger <vapier.adi@gmail.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/nand/bf5xx_nand.c

index 520314d4a805a0583fdb9b6eca70a3dec69ef6eb..4c2a67ca801e3e07c4ebbfa82e449b3210a296d3 100644 (file)
@@ -572,7 +572,7 @@ static int bf5xx_nand_dma_init(struct bf5xx_nand_info *info)
        SSYNC();
 #endif
 
-       set_dma_callback(CH_NFC, (void *) bf5xx_nand_dma_irq, (void *) info);
+       set_dma_callback(CH_NFC, bf5xx_nand_dma_irq, info);
 
        /* Turn off the DMA channel first */
        disable_dma(CH_NFC);