mtd: nand: add nand_check_erased helper functions
authorBoris BREZILLON <boris.brezillon@free-electrons.com>
Thu, 3 Sep 2015 16:03:38 +0000 (18:03 +0200)
committerBrian Norris <computersforpeace@gmail.com>
Mon, 21 Sep 2015 22:35:04 +0000 (15:35 -0700)
commit730a43fbc135e593cc3de3b1b895e49c05c8e2dc
tree1f8c818f841c4fa8125d7fce61d04423e95c8264
parentdb66e32e0d2ae1f5070faa589aa460b75780ab47
mtd: nand: add nand_check_erased helper functions

Add two helper functions to help NAND controller drivers test whether a
specific NAND region is erased or not.

Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
drivers/mtd/nand/nand_base.c
include/linux/mtd/nand.h