mtd: onenand: switch to mtd_ooblayout_ops
authorBoris Brezillon <boris.brezillon@free-electrons.com>
Mon, 7 Dec 2015 21:46:45 +0000 (22:46 +0100)
committerBoris Brezillon <boris.brezillon@free-electrons.com>
Thu, 5 May 2016 21:51:49 +0000 (23:51 +0200)
commita411679fb5fd7ee2df64a55c23c81538ceeb6d06
tree38fe2b4bead9c9297085503341dc26c632822ebd
parent421e81c4c6c03a5f6cbc40ea208fb07ad5797e09
mtd: onenand: switch to mtd_ooblayout_ops

Implementing the mtd_ooblayout_ops interface is the new way of exposing
ECC/OOB layout to MTD users. Modify the onenand drivers to switch to this
approach.

Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
drivers/mtd/onenand/onenand_base.c
include/linux/mtd/onenand.h