Dan Carpenter 70106ddaf3 mtd: nand: Fix a couple error codes
We accidentally return 1 on error instead of proper error codes.

Fixes: 07b23e3db9ed ("mtd: nand: Cleanup/rework the atmel_nand driver")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
2017-04-25 14:18:39 +02:00
..
2017-04-25 14:18:39 +02:00
2017-03-16 10:34:27 +01:00
2016-10-22 14:24:21 +02:00
2014-08-19 11:53:08 -07:00
2017-02-08 12:49:27 -08:00