linux/drivers/mtd/devices
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
..
block2mtd.c mtd: do not duplicate length and offset checks in drivers 2012-03-27 00:28:18 +01:00
doc2000.c mtd: do not duplicate length and offset checks in drivers 2012-03-27 00:28:18 +01:00
doc2001.c mtd: do not duplicate length and offset checks in drivers 2012-03-27 00:28:18 +01:00
doc2001plus.c mtd: do not duplicate length and offset checks in drivers 2012-03-27 00:28:18 +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: do not duplicate length and offset checks in drivers 2012-03-27 00:28:18 +01:00
m25p80.c mtd: do not duplicate length and offset checks in drivers 2012-03-27 00:28:18 +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: do not duplicate length and offset checks in drivers 2012-03-27 00:28:18 +01:00
ms02-nv.h MTD/JFFS2: remove CVS keywords 2008-06-04 17:50:17 +01:00
mtd_dataflash.c mtd: do not duplicate length and offset checks in drivers 2012-03-27 00:28:18 +01:00
mtdram.c mtd: do not duplicate length and offset checks in drivers 2012-03-27 00:28:18 +01:00
phram.c mtd: do not duplicate length and offset checks in drivers 2012-03-27 00:28:18 +01:00
pmc551.c mtd: do not duplicate length and offset checks in drivers 2012-03-27 00:28:18 +01:00
slram.c mtd: do not duplicate length and offset checks in drivers 2012-03-27 00:28:18 +01:00
spear_smi.c mtd: do not duplicate length and offset checks in drivers 2012-03-27 00:28:18 +01:00
sst25l.c mtd: do not duplicate length and offset checks in drivers 2012-03-27 00:28:18 +01:00