Miquel Raynal eb94555e9e mtd: nand: use usual return values for the ->erase() hook
Avoid using specific defined values for checking returned status of the
->erase() hook. Instead, use usual negative error values on failure,
zero otherwise.

Signed-off-by: Miquel Raynal <miquel.raynal@free-electrons.com>
Acked-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
2017-12-01 09:45:30 +01:00
..
2017-11-02 22:30:37 +01:00
2017-11-06 23:26:01 +01:00
2017-11-06 23:26:01 +01:00
2017-08-13 10:11:49 +02:00
2017-10-27 16:53:23 +02:00
2017-08-13 10:11:49 +02:00