aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Norris <computersforpeace@gmail.com>2013-08-10 04:01:05 -0400
committerBrian Norris <computersforpeace@gmail.com>2013-10-27 19:26:59 -0400
commit2ee41fa0bad874e9fef3743979d297f97b7eda49 (patch)
treeec58ea6d839bf8cf12a099af2c3475736f6788fd
parenta6eaa2ae7820f0cca742917f85f34ef1eed2c95d (diff)
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@gmail.com> Acked-by: Mike Dunn <mikedunn@newsguy.com>
-rw-r--r--drivers/mtd/nand/docg4.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/mtd/nand/docg4.c b/drivers/mtd/nand/docg4.c
index 548db2389fab..7c38b8ad4404 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)
1239 nand->block_markbad = docg4_block_markbad; 1239 nand->block_markbad = docg4_block_markbad;
1240 nand->read_buf = docg4_read_buf; 1240 nand->read_buf = docg4_read_buf;
1241 nand->write_buf = docg4_write_buf16; 1241 nand->write_buf = docg4_write_buf16;
1242 nand->scan_bbt = nand_default_bbt;
1243 nand->erase_cmd = docg4_erase_block; 1242 nand->erase_cmd = docg4_erase_block;
1244 nand->ecc.read_page = docg4_read_page; 1243 nand->ecc.read_page = docg4_read_page;
1245 nand->ecc.write_page = docg4_write_page; 1244 nand->ecc.write_page = docg4_write_page;