linux_dsm_epyc7002/drivers/mtd/devices
Artem Bityutskiy 5e4e6e3fdf mtd: return error code from mtd_unpoint
The 'mtd_unpoint()' API function should be able to return an error code because
it may fail if you specify incorrect offset. This patch changes this MTD API
function and amends all the drivers correspondingly.

Also return '-EOPNOTSUPP' from 'mtd_unpoint()' when the '->unpoint()' method is
undefined. We do not really need this currently, but this just makes
sense to be consistent with 'mtd_point()'.

Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
2012-03-27 00:27:19 +01:00
..
block2mtd.c mtd: block2mtd: initialize writebufsize 2012-03-27 00:22:14 +01:00
doc2000.c mtd: doc2000: initialize writebufsize 2012-03-27 00:22:38 +01:00
doc2001.c mtd: doc2001: initialize writebufsize 2012-03-27 00:22:46 +01:00
doc2001plus.c mtd: doc2001plus: initialize writebufsize 2012-03-27 00:22:51 +01:00
docecc.c mtd: spelling, capitalization, uniformity 2011-09-11 15:02:13 +03:00
docg3.c mtd: docg3: initialize writebufsize 2012-03-27 00:22:57 +01:00
docg3.h mtd: docg3: fixes and cleanups 2012-01-09 18:13:05 +00:00
docprobe.c mtd: docprobe: use kzalloc instead 2012-01-09 18:25:51 +00:00
Kconfig mtd: ST SPEAr: Add SMI driver for serial NOR flash 2012-03-27 00:14:16 +01:00
lart.c mtd: lart: initialize writebufsize 2012-03-27 00:23:01 +01:00
m25p80.c mtd: m25p80: set writebufsize 2012-03-27 00:20:23 +01:00
Makefile mtd: ST SPEAr: Add SMI driver for serial NOR flash 2012-03-27 00:14:16 +01:00
ms02-nv.c mtd: add leading underscore to all mtd functions 2012-03-27 00:20:01 +01:00
ms02-nv.h MTD/JFFS2: remove CVS keywords 2008-06-04 17:50:17 +01:00
mtd_dataflash.c mtd: add leading underscore to all mtd functions 2012-03-27 00:20:01 +01:00
mtdram.c mtd: return error code from mtd_unpoint 2012-03-27 00:27:19 +01:00
phram.c mtd: return error code from mtd_unpoint 2012-03-27 00:27:19 +01:00
pmc551.c mtd: return error code from mtd_unpoint 2012-03-27 00:27:19 +01:00
slram.c mtd: return error code from mtd_unpoint 2012-03-27 00:27:19 +01:00
spear_smi.c mtd: spear_smi: initialize writebufsize 2012-03-27 00:23:13 +01:00
sst25l.c mtd: sst25l: initialize writebufsize 2012-03-27 00:23:22 +01:00