linux_dsm_epyc7002/drivers/mtd/chips
Artem Bityutskiy 5def48982b mtd: do not duplicate length and offset checks in drivers
We already verify that offset and length are within the MTD device size
in the MTD API functions. Let's remove the duplicated checks in drivers.
This patch only affects the following API's:

'mtd_erase()'
'mtd_point()'
'mtd_unpoint()'
'mtd_get_unmapped_area()'
'mtd_read()'
'mtd_write()'
'mtd_panic_write()'
'mtd_lock()'
'mtd_unlock()'
'mtd_is_locked()'
'mtd_block_isbad()'
'mtd_block_markbad()'

This patch adds a bit of noise by removing too sparse empty lines, but this is
not too bad.

Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
2012-03-27 00:28:18 +01:00
..
cfi_cmdset_0001.c mtd: do not duplicate length and offset checks in drivers 2012-03-27 00:28:18 +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: do not duplicate length and offset checks in drivers 2012-03-27 00:28:18 +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 mtd: do not duplicate length and offset checks in drivers 2012-03-27 00:28:18 +01: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