linux/drivers/mtd/tests
Artem Bityutskiy 7e1f0dc055 mtd: introduce mtd_erase interface
This patch is part of a patch-set which changes the MTD interface
from 'mtd->func()' form to 'mtd_func()' form. We need this because
we want to add common code to to all drivers in the mtd core level,
which is impossible with the current interface when MTD clients
call driver functions like 'read()' or 'write()' directly.

At this point we just introduce a new inline wrapper function, but
later some of them are expected to gain more code. E.g., the input
parameters check should be moved to the wrappers rather than be
duplicated at many drivers.

This particular patch introduced the 'mtd_erase()' interface. The
following patches add all the other interfaces one by one.

Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
2012-01-09 18:25:11 +00:00
..
Makefile mtd: add nand_ecc test module 2009-11-30 09:41:49 +00:00
mtd_nandecctest.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
mtd_oobtest.c mtd: introduce mtd_erase interface 2012-01-09 18:25:11 +00:00
mtd_pagetest.c mtd: introduce mtd_erase interface 2012-01-09 18:25:11 +00:00
mtd_readtest.c mtd: tests: don't use mtd0 as a default 2011-10-30 14:31:04 +02:00
mtd_speedtest.c mtd: introduce mtd_erase interface 2012-01-09 18:25:11 +00:00
mtd_stresstest.c mtd: introduce mtd_erase interface 2012-01-09 18:25:11 +00:00
mtd_subpagetest.c mtd: introduce mtd_erase interface 2012-01-09 18:25:11 +00:00
mtd_torturetest.c mtd: introduce mtd_erase interface 2012-01-09 18:25:11 +00:00