mtd: rawnand: Deprecate ->{read, write}_{byte, buf}() hooks
All 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
82fc509974
commit
716bbbabcc
@@ -108,7 +108,7 @@ static int hynix_nand_reg_write_op(struct nand_chip *chip, u8 addr, u8 val)
|
||||
}
|
||||
|
||||
chip->cmdfunc(chip, NAND_CMD_NONE, column, -1);
|
||||
chip->write_byte(chip, val);
|
||||
chip->legacy.write_byte(chip, val);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user