[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <1231346519-28603-4-git-send-email-cooloney@kernel.org>
Date: Thu, 8 Jan 2009 00:41:59 +0800
From: Bryan Wu <cooloney@...nel.org>
To: linux-mtd@...ts.infradead.org, linux-kernel@...r.kernel.org
Cc: Mike Frysinger <vapier.adi@...il.com>,
Bryan Wu <cooloney@...nel.org>
Subject: [PATCH 3/3] Blackfin NFC Driver: drop pointless casts with set_dma_callback()
From: Mike Frysinger <vapier.adi@...il.com>
Signed-off-by: Mike Frysinger <vapier.adi@...il.com>
Signed-off-by: Bryan Wu <cooloney@...nel.org>
---
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);
--
1.5.6
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists