Re: [PATCH v2] mtd: rawnand: remove ->legacy.erase and single_erase()
From: Miquel Raynal
Date: Fri Jan 25 2019 - 07:37:43 EST
Hi Masahiro,
Masahiro Yamada <yamada.masahiro@xxxxxxxxxxxxx> wrote on Mon, 21 Jan
2019 15:32:07 +0900:
> Now that the last user of this hook, denali.c, stopped using it,
> we can remove the erase hook from nand_legacy.
>
> I squashed single_erase() because only the difference between
> single_erase() and nand_erase_op() is the number of bit shifts.
>
> The status/ret conversion in nand_erase_nand() is unneeded since
> commit eb94555e9e97 ("mtd: nand: use usual return values for the
> ->erase() hook"). Cleaned it up now.
>
> Signed-off-by: Masahiro Yamada <yamada.masahiro@xxxxxxxxxxxxx>
> ---
Applied to nand/next.
Thanks,
MiquÃl