alistair23-linux/drivers/mtd/ubi
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
..
build.c mtd: introduce mtd_can_have_bb helper 2012-01-09 18:26:24 +00:00
cdev.c UBI: fix nameless volumes handling 2012-01-15 15:06:08 +02:00
debug.c mtd: introduce mtd_read interface 2012-01-09 18:25:19 +00:00
debug.h UBI: fix debugging messages 2012-01-11 18:35:53 +02:00
eba.c UBI: fix missing scrub when there is a bit-flip 2011-11-30 17:43:42 +05:30
gluebi.c mtd: do not duplicate length and offset checks in drivers 2012-03-27 00:28:18 +01:00
io.c mtd: introduce mtd_block_markbad interface 2012-01-09 18:25:48 +00:00
kapi.c mtd: do not use mtd->sync directly 2012-01-09 18:26:21 +00:00
Kconfig
Makefile
misc.c mtd: utilize `mtd_is_*()' functions 2011-09-21 09:19:06 +03:00
scan.c mtd: utilize `mtd_is_*()' functions 2011-09-21 09:19:06 +03:00
scan.h
ubi-media.h
ubi.h UBI: fix missing scrub when there is a bit-flip 2011-11-30 17:43:42 +05:30
upd.c
vmt.c mtd: Add export.h for EXPORT_SYMBOL/THIS_MODULE where needed 2011-10-31 19:31:11 -04:00
vtbl.c UBI: use own macros for the layout volume 2012-01-15 15:08:55 +02:00
wl.c UBI: fix use-after-free on error path 2012-01-05 11:19:19 +02:00