mtd: OneNAND: move erase method to a separate function
authorMika Korhonen <ext-mika.2.korhonen@nokia.com>
Fri, 23 Oct 2009 05:50:42 +0000 (07:50 +0200)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Mon, 30 Nov 2009 09:42:55 +0000 (09:42 +0000)
commit73885aeaca046a21183db598c2da46529e46fdab
treeedf13d8b7fbbb84e18ebe842dd226858a887ca57
parent7126bd8be4ee009c56c4ec037f07f2c0884413fc
mtd: OneNAND: move erase method to a separate function

Separate the actual execution of erase to a new function:
onenand_block_by_block_erase(). This is done in preparation for
the multiblock erase support.

Signed-off-by: Mika Korhonen <ext-mika.2.korhonen@nokia.com>
Reviewed-by: Adrian Hunter <adrian.hunter@nokia.com>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/onenand/onenand_base.c