mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-22 00:40:03 +00:00
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>
This commit is contained in:
parent
a6eaa2ae78
commit
2ee41fa0ba
1 changed files with 0 additions and 1 deletions
|
@ -1239,7 +1239,6 @@ static void __init init_mtd_structs(struct mtd_info *mtd)
|
||||||
nand->block_markbad = docg4_block_markbad;
|
nand->block_markbad = docg4_block_markbad;
|
||||||
nand->read_buf = docg4_read_buf;
|
nand->read_buf = docg4_read_buf;
|
||||||
nand->write_buf = docg4_write_buf16;
|
nand->write_buf = docg4_write_buf16;
|
||||||
nand->scan_bbt = nand_default_bbt;
|
|
||||||
nand->erase_cmd = docg4_erase_block;
|
nand->erase_cmd = docg4_erase_block;
|
||||||
nand->ecc.read_page = docg4_read_page;
|
nand->ecc.read_page = docg4_read_page;
|
||||||
nand->ecc.write_page = docg4_write_page;
|
nand->ecc.write_page = docg4_write_page;
|
||||||
|
|
Loading…
Reference in a new issue