[MTD] [OneNAND] Return only negative error codes
commit30a7eb298af849bae3050e0a3f4c130995da22b0
authorAdrian Hunter <ext-adrian.hunter@nokia.com>
Fri, 12 Oct 2007 07:19:38 +0000 (12 10:19 +0300)
committerDavid Woodhouse <dwmw2@infradead.org>
Sun, 14 Oct 2007 12:37:41 +0000 (14 13:37 +0100)
tree1f12dd85a9d2fb835c25a173cd1e10c457f8492f
parent34627f0e768de6af95e3523c29a16cbb95ce3197
[MTD] [OneNAND] Return only negative error codes

The OneNAND driver was confusing JFFS2 by returning positive error
codes.

Signed-off-by: Adrian Hunter <ext-adrian.hunter@nokia.com>
Acked-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
drivers/mtd/onenand/onenand_base.c