aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mtd/nand/bf5xx_nand.c
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-05-26 06:24:13 -0400
committerDavid Woodhouse <David.Woodhouse@intel.com>2009-06-05 13:17:26 -0400
commit530c3b60658687e2ad7bf98ef83631a8280ae8a6 (patch)
tree9821433bec6b901db4bb13bd488171dbade88c14 /drivers/mtd/nand/bf5xx_nand.c
parentf4fa697c26bcd9e942de26bad970f4de1da5a49b (diff)
mtd: blackfin NFC: remove pointless return value in bf5xx_nand_dma_rw
Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Bryan Wu <cooloney@kernel.org> Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'drivers/mtd/nand/bf5xx_nand.c')
-rw-r--r--drivers/mtd/nand/bf5xx_nand.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/mtd/nand/bf5xx_nand.c b/drivers/mtd/nand/bf5xx_nand.c
index 4c2a67ca801e..2ab42d2d4f91 100644
--- a/drivers/mtd/nand/bf5xx_nand.c
+++ b/drivers/mtd/nand/bf5xx_nand.c
@@ -458,7 +458,7 @@ static irqreturn_t bf5xx_nand_dma_irq(int irq, void *dev_id)
458 return IRQ_HANDLED; 458 return IRQ_HANDLED;
459} 459}
460 460
461static int bf5xx_nand_dma_rw(struct mtd_info *mtd, 461static void bf5xx_nand_dma_rw(struct mtd_info *mtd,
462 uint8_t *buf, int is_read) 462 uint8_t *buf, int is_read)
463{ 463{
464 struct bf5xx_nand_info *info = mtd_to_nand_info(mtd); 464 struct bf5xx_nand_info *info = mtd_to_nand_info(mtd);
@@ -512,8 +512,6 @@ static int bf5xx_nand_dma_rw(struct mtd_info *mtd,
512 else 512 else
513 bfin_write_NFC_PGCTL(0x2); 513 bfin_write_NFC_PGCTL(0x2);
514 wait_for_completion(&info->dma_completion); 514 wait_for_completion(&info->dma_completion);
515
516 return 0;
517} 515}
518 516
519static void bf5xx_nand_dma_read_buf(struct mtd_info *mtd, 517static void bf5xx_nand_dma_read_buf(struct mtd_info *mtd,