mtd: rawnand: Deprecate ->dev_ready() and ->waitfunc()
Those hooks have been replaced by ->exec_op(). Move them to the nand_legacy struct. Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com> Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
This commit is contained in:

committed by
Miquel Raynal

parent
bf6065c6c0
commit
8395b753d7
@@ -782,7 +782,7 @@ static int nand_davinci_probe(struct platform_device *pdev)
|
||||
|
||||
/* Set address of hardware control function */
|
||||
info->chip.legacy.cmd_ctrl = nand_davinci_hwcontrol;
|
||||
info->chip.dev_ready = nand_davinci_dev_ready;
|
||||
info->chip.legacy.dev_ready = nand_davinci_dev_ready;
|
||||
|
||||
/* Speed up buffer I/O */
|
||||
info->chip.legacy.read_buf = nand_davinci_read_buf;
|
||||
|
Reference in New Issue
Block a user