linux/drivers/mtd
Artem Bityutskiy 016c1291ce mtd: mtdoops: do not use mtd->panic_write directly
Instead of checking if 'mtd->panic_write' is defined, call 'mtd_panic_write()'
and check the error code - '-EOPNOTSUPP' will be returned if the function is
not defined.

Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
2012-01-09 18:26:13 +00:00
..
chips mtd: introduce mtd_write interface 2012-01-09 18:25:20 +00:00
devices mtd: sst25l: kill unused variable 2012-01-09 18:26:01 +00:00
lpddr
maps mtd: introduce mtd_resume interface 2012-01-09 18:25:46 +00:00
nand mtd: introduce mtd_block_markbad interface 2012-01-09 18:25:48 +00:00
onenand mtd: onenand: kill unused variable 2012-01-09 18:25:58 +00:00
tests mtd: remove extra retlen assignment 2012-01-09 18:25:56 +00:00
ubi mtd: introduce mtd_block_markbad interface 2012-01-09 18:25:48 +00:00
afs.c mtd: introduce mtd_read interface 2012-01-09 18:25:19 +00:00
ar7part.c mtd: introduce mtd_read interface 2012-01-09 18:25:19 +00:00
bcm63xxpart.c mtd: introduce mtd_read interface 2012-01-09 18:25:19 +00:00
cmdlinepart.c
ftl.c mtd: introduce mtd_sync interface 2012-01-09 18:25:35 +00:00
inftlcore.c mtd: introduce mtd_write_oob interface 2012-01-09 18:25:24 +00:00
inftlmount.c mtd: introduce mtd_block_markbad interface 2012-01-09 18:25:48 +00:00
Kconfig
Makefile
mtd_blkdevs.c
mtdblock_ro.c mtd: introduce mtd_write interface 2012-01-09 18:25:20 +00:00
mtdblock.c mtd: introduce mtd_sync interface 2012-01-09 18:25:35 +00:00
mtdchar.c mtd: do not use mtd->get_unmapped_area directly 2012-01-09 18:26:10 +00:00
mtdconcat.c mtd: do not use mtd->get_unmapped_area directly 2012-01-09 18:26:10 +00:00
mtdcore.c mtd: mtdcore: export symbols cleanup 2012-01-09 18:26:06 +00:00
mtdcore.h
mtdoops.c mtd: mtdoops: do not use mtd->panic_write directly 2012-01-09 18:26:13 +00:00
mtdpart.c mtd: introduce mtd_block_markbad interface 2012-01-09 18:25:48 +00:00
mtdsuper.c
mtdswap.c mtd: introduce mtd_block_markbad interface 2012-01-09 18:25:48 +00:00
nftlcore.c mtd: introduce mtd_write_oob interface 2012-01-09 18:25:24 +00:00
nftlmount.c mtd: introduce mtd_block_markbad interface 2012-01-09 18:25:48 +00:00
ofpart.c
redboot.c mtd: introduce mtd_block_isbad interface 2012-01-09 18:25:47 +00:00
rfd_ftl.c mtd: introduce mtd_sync interface 2012-01-09 18:25:35 +00:00
sm_ftl.c mtd: introduce mtd_has_oob helper 2012-01-09 18:26:08 +00:00
sm_ftl.h
ssfdc.c mtd: introduce mtd_block_isbad interface 2012-01-09 18:25:47 +00:00