nand: docg4: use nand_base's default BBT scan

Linux-MTD Mailing List linux-mtd at lists.infradead.org
Wed Nov 13 13:59:02 EST 2013


Gitweb:     http://git.infradead.org/?p=mtd-2.6.git;a=commit;h=2ee41fa0bad874e9fef3743979d297f97b7eda49
Commit:     2ee41fa0bad874e9fef3743979d297f97b7eda49
Parent:     a6eaa2ae7820f0cca742917f85f34ef1eed2c95d
Author:     Brian Norris <computersforpeace at gmail.com>
AuthorDate: Sat Aug 10 01:01:05 2013 -0700
Committer:  Brian Norris <computersforpeace at gmail.com>
CommitDate: Sun Oct 27 16:26:59 2013 -0700

    nand: docg4: use nand_base's default BBT scan
    
    There's no point in the low level driver doing the work that nand_base
    already is doing; just let nand_base set the default BBT scanning
    function.
    
    Signed-off-by: Brian Norris <computersforpeace at gmail.com>
    Acked-by: Mike Dunn <mikedunn at newsguy.com>
---
 drivers/mtd/nand/docg4.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/mtd/nand/docg4.c b/drivers/mtd/nand/docg4.c
index 548db23..7c38b8a 100644
--- a/drivers/mtd/nand/docg4.c
+++ b/drivers/mtd/nand/docg4.c
@@ -1239,7 +1239,6 @@ static void __init init_mtd_structs(struct mtd_info *mtd)
 	nand->block_markbad = docg4_block_markbad;
 	nand->read_buf = docg4_read_buf;
 	nand->write_buf = docg4_write_buf16;
-	nand->scan_bbt = nand_default_bbt;
 	nand->erase_cmd = docg4_erase_block;
 	nand->ecc.read_page = docg4_read_page;
 	nand->ecc.write_page = docg4_write_page;



More information about the linux-mtd-cvs mailing list