mtd: nand: davinci: remove custom 'erased check' implementation
authorBoris BREZILLON <boris.brezillon@free-electrons.com>
Wed, 30 Dec 2015 19:32:05 +0000 (20:32 +0100)
committerBrian Norris <computersforpeace@gmail.com>
Thu, 7 Jan 2016 02:53:46 +0000 (18:53 -0800)
commitbc29c95d2e51305ec611f29cc703c2fa0d2086de
treee807d86d084b2e45842af1153641bb0b5f60c80e
parent40cbe6eee97b706f27bcc4c6aa1018bbe4f1e577
mtd: nand: davinci: remove custom 'erased check' implementation

The davinci driver is manually checking for 'erased pages' while
correcting ECC bytes.
This logic can now done by the core infrastructure, and can thus be removed
from this driver.

Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Tested-by: Franklin S Cooper Jr. <fcooper@ti.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
drivers/mtd/nand/davinci_nand.c