mtd: mtdoops: add mtdoops_erase function and move mtdoops_inc_counter to after it
authorRay Zhang <sgzhang@google.com>
Mon, 10 Oct 2022 04:55:48 +0000 (04:55 +0000)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Mon, 7 Nov 2022 16:07:59 +0000 (17:07 +0100)
commit340193e079a899f5527cddccff2b5de2c98bc31b
tree4689c1230145f2e76972f7c216de5f5ab83a5463
parent43cfba56d312f0a45e0b3eaa63606e05ae7fac14
mtd: mtdoops: add mtdoops_erase function and move mtdoops_inc_counter to after it

Preparing for next patch with minimal code difference, add mtdoops_erase
function and move mtdoops_inc_counter to after it, with no functional
change.

Signed-off-by: Ray Zhang <sgzhang@google.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20221010045549.2221965-3-sgzhang@google.com
drivers/mtd/mtdoops.c