static int concat_erase(struct mtd_info *mtd, struct erase_info *instr)Actually I am not sure _read|write_oob() is the right callback to
{
struct mtd_concat *concat = CONCAT(mtd);
@@ -684,10 +580,6 @@ struct mtd_info *mtd_concat_create(struct mtd_info *subdev[], /* subdevices to c
subdev_master = mtd_get_master(subdev[0]);
if (subdev_master->_writev)
concat->mtd._writev = concat_writev;
- if (subdev_master->_read_oob)
- concat->mtd._read_oob = concat_read_oob;
- if (subdev_master->_write_oob)
- concat->mtd._write_oob = concat_write_oob;
remove.
Richard, what is your input on this? Shall we remove _read|write()
instead? I don't remember the exact rationale behind these two helpers.