[MTD] [NAND] Blackfin NFC Driver: drop pointless casts with set_dma_callback()

Linux-MTD Mailing List linux-mtd at lists.infradead.org
Fri Mar 20 14:59:10 EDT 2009


Gitweb:     http://git.infradead.org/?p=mtd-2.6.git;a=commit;h=bfc492571e7ad1eb4b9fe3ac8ab0a7cdaecf8eca
Commit:     bfc492571e7ad1eb4b9fe3ac8ab0a7cdaecf8eca
Parent:     8d30cab06920f9efb7e089f2c69e451b2a637d8a
Author:     Mike Frysinger <vapier.adi at gmail.com>
AuthorDate: Wed Mar 4 12:01:30 2009 -0800
Committer:  David Woodhouse <David.Woodhouse at intel.com>
CommitDate: Fri Mar 20 12:18:04 2009 +0000

    [MTD] [NAND] Blackfin NFC Driver: drop pointless casts with set_dma_callback()
    
    Signed-off-by: Mike Frysinger <vapier.adi at gmail.com>
    Signed-off-by: Bryan Wu <cooloney at kernel.org>
    Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
    Signed-off-by: David Woodhouse <David.Woodhouse at intel.com>
---
 drivers/mtd/nand/bf5xx_nand.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/mtd/nand/bf5xx_nand.c b/drivers/mtd/nand/bf5xx_nand.c
index 520314d..4c2a67c 100644
--- a/drivers/mtd/nand/bf5xx_nand.c
+++ b/drivers/mtd/nand/bf5xx_nand.c
@@ -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);



More information about the linux-mtd-cvs mailing list