mtd: nand: fsmc: use ->exec_op()
authorMiquel Raynal <miquel.raynal@bootlin.com>
Fri, 16 Feb 2018 14:22:48 +0000 (15:22 +0100)
committerBoris Brezillon <boris.brezillon@bootlin.com>
Sat, 17 Feb 2018 08:29:50 +0000 (09:29 +0100)
commit4da712e702941daa849ccd7fbcaa677dce7855b2
treeff2bf08c9d0df5316e6f6792c478cd2032e12929
parent4df6ed4f0ac9a1bb776eabb5a669321b68296ff2
mtd: nand: fsmc: use ->exec_op()

Remove the deprecated ->cmd_ctrl() implementation to use ->exec_op() in
the fsmc_nand driver.

Implement the ->select_chip() hook to avoid having to support the hack
from the core that send a NAND_CMD_NONE with NAND_NCE to signal a
deassertion of nCE.

Also get rid of the last references to ->IO_ADDR_[R|W] that are not used
anymore.

Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com>
drivers/mtd/nand/raw/fsmc_nand.c