]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit1609d399399aab60cd0e4fd0894739c7bca08b14
treec9070740c78df2daabe0465d7c1007be8d2ef4b4
parentdcb5115936caa356c3c590faa2a9b16e29f4c62a
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