linux/drivers/mtd/devices
Artem Bityutskiy 664addc248 mtd: remove R/O checking duplication
Many drivers check whether the partition is R/O and return -EROFS if yes.
Let's stop having duplicated checks and move them to the API functions
instead.

And again a bit of noise - deleted few too sparse newlines, sorry.

Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
2012-03-27 00:29:11 +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: remove R/O checking duplication 2012-03-27 00:29:11 +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