Home
last modified time | relevance | path

Searched hist:"29 f1058a90b319b01c4cf469720e0350212d5c9c" (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/mtd/
H A Dmtdpart.cdiff 29f1058a90b319b01c4cf469720e0350212d5c9c Mon Mar 07 10:46:52 CET 2016 Boris BREZILLON <boris.brezillon@free-electrons.com> 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>
/linux/include/linux/mtd/
H A Dmtd.hdiff 29f1058a90b319b01c4cf469720e0350212d5c9c Mon Mar 07 10:46:52 CET 2016 Boris BREZILLON <boris.brezillon@free-electrons.com> 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>