mtd: nand: Drop the ->errstat() hook
authorBoris Brezillon <boris.brezillon@free-electrons.com>
Tue, 21 Nov 2017 17:38:25 +0000 (02:38 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Tue, 28 Nov 2017 15:28:58 +0000 (00:28 +0900)
commit94b50a8aae1a6e1514cb39ecb2d2aec0824582f6
tree2cbc55ba59f0bf705101796a8076ad89bb53499e
parent4d75596e6d27315a05253d85e870d28cda972d45
mtd: nand: Drop the ->errstat() hook

The ->errstat() hook is no longer implemented NAND controller drivers.
Get rid of it before someone starts abusing it.

Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
[Linux commit: 7d135bcced20be2b50128432c5426a7278ec4f6d]
[masahiro: modify davinci_nand.c for U-Boot]
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
drivers/mtd/nand/davinci_nand.c
drivers/mtd/nand/nand_base.c
include/linux/mtd/nand.h