]> git.baikalelectronics.ru Git - kernel.git/commit
mtd: rawnand: Kill the chip->scan_bbt() hook
authorBoris Brezillon <boris.brezillon@bootlin.com>
Thu, 5 Jul 2018 10:27:31 +0000 (12:27 +0200)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Wed, 18 Jul 2018 08:10:12 +0000 (10:10 +0200)
commit4958f56ea1686662a5a7223980e910206c52424b
tree18d71fd41544477fa0b526113ad78ecdc5ea4ac6
parent165f717c6fb1059248f575160270b4b6d5c1bedb
mtd: rawnand: Kill the chip->scan_bbt() hook

None of the existing drivers are overloading the ->scan_bbt() method,
let's get rid of it and replace calls to ->scan_bbt() by
nand_create_bbt() ones.

Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
drivers/mtd/nand/raw/diskonchip.c
drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c
drivers/mtd/nand/raw/nand_base.c
drivers/mtd/nand/raw/nandsim.c
include/linux/mtd/rawnand.h