OSDN Git Service

mtd: rawnand: marvell: Stop implementing ->select_chip()
authorBoris Brezillon <boris.brezillon@bootlin.com>
Sun, 11 Nov 2018 07:55:18 +0000 (08:55 +0100)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Fri, 7 Dec 2018 09:38:26 +0000 (10:38 +0100)
commitb25251414f6e007c6ce7a0f6b96542bce728ffd9
tree2807f5098e2322b760a8b60d1e569fe30e28f193
parent550b9fc4e3af5f0af687d9e7bf168c8b48cf5495
mtd: rawnand: marvell: Stop implementing ->select_chip()

Now that the CS to be selected is kept in chip->cur_cs and passed
in nand_operation->cs, we can get rid of the ->select_chip()
implementation and replace it by an internal function which is called
from the chip->exec_op() and chip->ecc.read/write_xxx() hooks.

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