linux_dsm_epyc7002/drivers/mtd/chips
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
..
cfi_cmdset_0001.c mtd: return error code from mtd_unpoint 2012-03-27 00:27:19 +01:00
cfi_cmdset_0002.c mtd: add leading underscore to all mtd functions 2012-03-27 00:20:01 +01:00
cfi_cmdset_0020.c mtd: add leading underscore to all mtd functions 2012-03-27 00:20:01 +01:00
cfi_probe.c mtd: cfi_cmdset_0002: make sector erase command variable 2010-10-26 11:39:17 +01:00
cfi_util.c Fix common misspellings 2011-03-31 11:26:23 -03:00
chipreg.c mtd: Remove obsolete <mtd/compatmac.h> include 2010-08-08 21:19:42 +01:00
fwh_lock.h mtd: add leading underscore to all mtd functions 2012-03-27 00:20:01 +01:00
gen_probe.c mtd: cfi_cmdset_0002: use AMD standard command-set with Winbond flash chips 2010-05-20 16:57:00 +01:00
jedec_probe.c mtd: replace DEBUG() with pr_debug() 2011-09-11 15:02:16 +03:00
Kconfig Fix common misspellings 2011-03-31 11:26:23 -03:00
Makefile [MTD] [CHIPS] Remove MTD_OBSOLETE_CHIPS (jedec, amd_flash, sharp) 2007-05-09 13:34:37 +01:00
map_absent.c mtd: add leading underscore to all mtd functions 2012-03-27 00:20:01 +01:00
map_ram.c mtd: add leading underscore to all mtd functions 2012-03-27 00:20:01 +01:00
map_rom.c mtd: add leading underscore to all mtd functions 2012-03-27 00:20:01 +01:00