Files
linux/include/linux/mtd
Boris Brezillon e7bfb3fdbd mtd: Stop updating erase_info->state and calling mtd_erase_callback()
MTD users are no longer checking erase_info->state to determine if the
erase operation failed or succeeded. Moreover, mtd_erase_callback() is
now a NOP.

We can safely get rid of all mtd_erase_callback() calls and all
erase_info->state assignments. While at it, get rid of the
erase_info->state field, all MTD_ERASE_XXX definitions and the
mtd_erase_callback() function.

Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com>
Reviewed-by: Richard Weinberger <richard@nod.at>
Reviewed-by: Miquel Raynal <miquel.raynal@bootlin.com>
Acked-by: Bert Kenward <bkenward@solarflare.com>
---
Changes in v2:
- Address a few coding style issues (reported by Miquel)
- Remove comments that are no longer valid (reported by Miquel)
2018-03-21 09:50:56 +01:00
..
2015-05-27 12:42:16 -07:00
2010-08-08 20:58:20 +01:00
2010-08-08 20:58:20 +01:00
2010-08-08 20:58:20 +01:00
2010-08-08 20:58:20 +01:00
2016-01-26 10:27:34 -08:00
2013-04-05 13:02:40 +01:00
2010-01-13 09:04:53 +00:00
2013-04-05 13:02:33 +01:00
2014-04-18 16:40:08 -07:00