[PATCH 5/5] mtd: Stop updating erase_info->state and calling mtd_erase_callback()
Bert Kenward
bkenward at solarflare.com
Tue Feb 13 04:09:20 PST 2018
On 12/02/18 21:03, Boris Brezillon wrote:
> 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 at bootlin.com>
For sfc parts:
Acked-by: Bert Kenward <bkenward at solarflare.com>
Thanks,
Bert.
More information about the linux-mtd
mailing list