tmp_suning_uos_patched/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
cfi_util.c mtd: do not duplicate length and offset checks in drivers 2012-03-27 00:28:18 +01:00
chipreg.c
fwh_lock.h mtd: add leading underscore to all mtd functions 2012-03-27 00:20:01 +01:00
gen_probe.c
jedec_probe.c
Kconfig
Makefile
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