]> git.baikalelectronics.ru Git - kernel.git/commit
mtd: rawnand: vf610: Stop implementing ->select_chip()
authorBoris Brezillon <boris.brezillon@bootlin.com>
Sun, 11 Nov 2018 07:55:20 +0000 (08:55 +0100)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Fri, 7 Dec 2018 09:38:26 +0000 (10:38 +0100)
commit18f394a8ebd42ce366c1b77551a5b75b468e84dc
tree0c4c90263b145bd180117d51efba4df232fe106c
parent49a0fdb9a5030f1113e780a78df04a455532a3e6
mtd: rawnand: vf610: 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/vf610_nfc.c