mtd: nand: lpc32xx_mlc: drop custom write_page callback
authorBrian Norris <computersforpeace@gmail.com>
Tue, 17 Dec 2013 04:50:32 +0000 (20:50 -0800)
committerBrian Norris <computersforpeace@gmail.com>
Fri, 3 Jan 2014 19:22:26 +0000 (11:22 -0800)
commit5e41d0a7102cfd43a3f0e178d37f2e9654f2fd50
tree9a01a7aa913f5156f7fd6ced5f8f88ae4e5e1619
parent0966a416d22bb5d4a5444e5a8eb0e0ae671826e6
mtd: nand: lpc32xx_mlc: drop custom write_page callback

This driver doesn't need its own custom chip->write_page callback; the
only "custom" requirement is that this driver does not support subpage
writes, which we can avoid using the NAND_NO_SUBPAGE_WRITE flag. With
NAND_NO_SUBPAGE_WRITE, the default routine (nand_write_page()) should
perform the equivalent operations.

Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Acked-by: Roland Stigge <stigge@antcom.de>
Tested-by: Roland Stigge <stigge@antcom.de>
drivers/mtd/nand/lpc32xx_mlc.c