mtd: nand: create a helper verification function
authorVimal Singh <vimalsingh@ti.com>
Wed, 3 Feb 2010 08:42:24 +0000 (14:12 +0530)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Fri, 26 Feb 2010 13:21:22 +0000 (13:21 +0000)
commit6fe5a6acdc126107e54a6c584536e09ab7dde949
treec9005ec5e3363bb34c9d64883569963d16b839be
parent91f8026603d4443d1b24ee3552c5a58682bbae27
mtd: nand: create a helper verification function

... verification for 'nand_erase_nand'

These checks are expected to be used by 'nand_lock' and 'nand_unlock'
routines too. As all these three are block aligned operations.
So, creating a helper function for this makes sense.

Signed-off-by: Vimal Singh <vimalsingh@ti.com>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/nand/nand_base.c