mtd: remove stale comment in mtd_oob_ops structure
authorMiquel Raynal <miquel.raynal@bootlin.com>
Sat, 14 Jul 2018 12:37:19 +0000 (14:37 +0200)
committerTom Rini <trini@konsulko.com>
Tue, 24 Jul 2018 13:25:23 +0000 (09:25 -0400)
commit980f65dc6cfdf8c35475712a37f5f267a744b852
tree1414834fb6082e04c0f69f292038b30dcc038845
parent8cffb50ab3f1a9a9f28e8f44ffc93a79c7c25ed9
mtd: remove stale comment in mtd_oob_ops structure

A comment in the kernel doc of the mtd_oob_ops structure tells that it
is not possible to write more than one page with OOB. This was
probably true at some time in the past but today it is entirely wrong.

As one can see for instance in the nand_do_write_ops() helper available
in the NAND core, this implementation called by mtd->_write_oob()
simply loops over the pages until everything has been written.

Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
include/linux/mtd/mtd.h