[MTD] [NAND] treat any negative return value from correct() as an error

Treat any negative return value from a NAND driver's correct() function
as a failure, rather than just -1.

Signed-off-by: Matt Reimer <mreimer@vpop.net>
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
This commit is contained in:
Matt Reimer 2007-10-17 14:33:23 -07:00 committed by David Woodhouse
commit c32b8dcc45