mtd: nand: diskonchip: remove custom 'erased check' implementation
authorBoris BREZILLON <boris.brezillon@free-electrons.com>
Wed, 30 Dec 2015 19:39:52 +0000 (20:39 +0100)
committerBrian Norris <computersforpeace@gmail.com>
Thu, 7 Jan 2016 02:54:00 +0000 (18:54 -0800)
commitcc01e6075c7f5fee72746bb0ec763b84a46c3778
treec9070740c78df2daabe0465d7c1007be8d2ef4b4
parentbc29c95d2e51305ec611f29cc703c2fa0d2086de
mtd: nand: diskonchip: remove custom 'erased check' implementation

The diskonchip 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>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
drivers/mtd/nand/diskonchip.c