mtd: nand: gpmi: switch to mtd_ooblayout_ops
authorBoris Brezillon <boris.brezillon@free-electrons.com>
Wed, 3 Feb 2016 19:01:54 +0000 (20:01 +0100)
committerBoris Brezillon <boris.brezillon@free-electrons.com>
Thu, 5 May 2016 21:51:43 +0000 (23:51 +0200)
commit3f158e47dfe92ee53f1e09c5fa76a07116100f02
treeade751af7c680d377746c7d6b1b1006ba39b5ce1
parent04a123a99f089773fc6ee6e21af5f831d87fe362
mtd: nand: gpmi: switch to mtd_ooblayout_ops

Implementing the mtd_ooblayout_ops interface is the new way of exposing
ECC/OOB layout to MTD users.

Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Acked-by: Han Xu <han.xu@nxp.com>
Tested-by: Han Xu <han.xu@nxp.com>
drivers/mtd/nand/gpmi-nand/gpmi-nand.c