mtd: error return -EIO instead of EIO
authorRoel Kluin <roel.kluin@gmail.com>
Wed, 11 Nov 2009 20:47:06 +0000 (21:47 +0100)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Mon, 30 Nov 2009 09:51:44 +0000 (09:51 +0000)
commit895fb49459227edbb4a4e5a2b5e9d12c34640f84
treec6d8ce92b3c3a9797bdb8c8196a671402b829f87
parentb2ef1a2bb2eb49cd7c75b22f1ea40ead0bdfdb8a
mtd: error return -EIO instead of EIO

Return a negative error value instead of a positive

Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/maps/physmap.c
drivers/mtd/maps/vmu-flash.c
drivers/mtd/nand/atmel_nand.c