linux-stable/include/linux/mtd
Boris Brezillon 7beb37e5f0 mtd: rawnand: Use nanddev_mtd_max_bad_blocks()
nanddev_mtd_max_bad_blocks() is implemented by the generic NAND layer
and is already doing what we need. Reuse this function instead of
having our own implementation.

While at it, get rid of the ->max_bb_per_die and ->blocks_per_die
fields which are now unused.

Signed-off-by: Boris Brezillon <bbrezillon@kernel.org>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Reviewed-by: Frieder Schrempf <frieder.schrempf@kontron.de>
2019-04-08 10:21:14 +02:00
..
bbm.h
blktrans.h
cfi.h mtd: spi-nor: add macros related to MICRON flash 2018-12-10 21:59:07 +01:00
cfi_endian.h
concat.h
doc2000.h
flashchip.h
ftl.h
gen_probe.h
inftl.h
jedec.h
latch-addr-flash.h
lpc32xx_mlc.h
lpc32xx_slc.h
map.h
mtd.h Char/Misc driver patches for 4.21-rc1 2018-12-28 20:54:57 -08:00
mtdram.h
nand-gpio.h
nand.h mtd: nand: Add a helper to retrieve the number of pages per target 2019-04-08 10:21:09 +02:00
nand_bch.h
nand_ecc.h
ndfc.h
nftl.h
onenand.h
onenand_regs.h
onfi.h
partitions.h
pfow.h
physmap.h
pismo.h
plat-ram.h
platnand.h
qinfo.h
rawnand.h mtd: rawnand: Use nanddev_mtd_max_bad_blocks() 2019-04-08 10:21:14 +02:00
sh_flctl.h mtd: rawnand: sh_flctl: convert to SPDX identifiers 2018-11-13 09:32:04 +01:00
sharpsl.h
spear_smi.h
spi-nor.h mtd: spi-nor: Fix wrong abbreviation HWCPAS 2019-02-21 08:58:40 +01:00
spinand.h mtd: spinand: Use the spi-mem dirmap API 2019-03-21 16:44:51 +01:00
super.h
ubi.h
xip.h