linux/drivers/mtd/onenand
Boris BREZILLON 29f1058a90 mtd: create an mtd_oobavail() helper and make use of it
Currently, all MTD drivers/sublayers exposing an OOB area are
doing the same kind of test to extract the available OOB size
based on the mtd_info and mtd_oob_ops structures.
Move this common logic into an inline function and make use of it.

Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Suggested-by: Priit Laes <plaes@plaes.org>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
2016-03-07 16:23:09 -08:00
..
generic.c mtd: onenand: generic: show parent device in sysfs 2015-10-13 12:56:37 -07:00
Kconfig mtd: onenand: remove s5pc100 related onenand codes 2014-07-13 07:35:14 +09:00
Makefile mtd: onenand: remove OneNAND simulator 2013-04-05 13:19:26 +01:00
omap2.c mtd: drop unnecessary partition parser data 2015-11-11 13:58:59 -08:00
onenand_base.c mtd: create an mtd_oobavail() helper and make use of it 2016-03-07 16:23:09 -08:00
onenand_bbt.c mtd: onenand: unexport onenand_default_bbt() 2016-01-23 14:00:17 -08:00
samsung.c mtd: onenand: samsung: drop owner assignment 2015-10-13 12:56:41 -07:00
samsung.h mtd: onenand: Trivial cleanup in samsung.h 2014-01-11 12:00:25 -08:00