mtd: use the NAND_STATUS_FAIL to replace the hardcode
authorHuang Shijie <shijie8@gmail.com>
Mon, 15 Oct 2012 03:47:24 +0000 (23:47 -0400)
committerArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
Thu, 15 Nov 2012 13:37:50 +0000 (15:37 +0200)
commit7483096665161d2567c2717e001654ad653d944e
treede2c72f5af23cdbdcf0843b0ad77e873f72465f9
parent04810274a982009ab26e2f15c32149c184e9e8e5
mtd: use the NAND_STATUS_FAIL to replace the hardcode

Use the NAND_STATUS_FAIL to replace the hardcode "0x01",
which make the code more readable.

Signed-off-by: Huang Shijie <shijie8@gmail.com>
Acked-by: Brian Norris <computersforpeace@gmail.com>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
drivers/mtd/nand/nand_base.c