mtd: nand_bbt: refactor check_pattern_no_oob()
authorBrian Norris <computersforpeace@gmail.com>
Fri, 22 Jun 2012 23:35:43 +0000 (16:35 -0700)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Fri, 6 Jul 2012 17:17:08 +0000 (18:17 +0100)
commit718894ad94626b72403c21fab5ccdd982147e4c6
treeca00bffc160092c2284680dded246c79b170127d
parent9fd6b37a08d49c5f9b108509fde8d618f74fb7ad
mtd: nand_bbt: refactor check_pattern_no_oob()

This function only returns 0 or -1, so make that clear.

Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/nand/nand_bbt.c