linux-stable/drivers/mtd/chips
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
..
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: remove R/O checking duplication 2012-03-27 00:29:11 +01:00
map_rom.c mtd: remove R/O checking duplication 2012-03-27 00:29:11 +01:00