linux/drivers/mtd/ubi
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
..
Kconfig
Makefile
build.c UBI: fix oops in error path 2011-06-01 11:23:12 +03:00
cdev.c fs: push i_mutex and filemap_write_and_wait down into ->fsync() handlers 2011-07-20 20:47:59 -04:00
debug.c UBI: switch debugging tests knobs to debugfs 2011-06-01 11:23:12 +03:00
debug.h UBI: do not link debug messages when debugging is disabled 2011-08-19 19:02:27 +03:00
eba.c mtd: utilize `mtd_is_*()' functions 2011-09-21 09:19:06 +03:00
gluebi.c mtd: convert remaining users to mtd_device_register() 2011-05-25 02:25:00 +01:00
io.c mtd: introduce mtd_erase interface 2012-01-09 18:25:11 +00:00
kapi.c mtd: utilize `mtd_is_*()' functions 2011-09-21 09:19:06 +03:00
misc.c mtd: utilize `mtd_is_*()' functions 2011-09-21 09:19:06 +03:00
scan.c mtd: utilize `mtd_is_*()' functions 2011-09-21 09:19:06 +03:00
scan.h
ubi-media.h UBI: use __packed instead of __attribute__((packed)) 2011-04-14 11:34:41 +03:00
ubi.h UBI: dump stack when switching to R/O mode 2011-06-01 11:23:13 +03:00
upd.c
vmt.c mtd: Add export.h for EXPORT_SYMBOL/THIS_MODULE where needed 2011-10-31 19:31:11 -04:00
vtbl.c mtd: utilize `mtd_is_*()' functions 2011-09-21 09:19:06 +03:00
wl.c UBI: prepare debugging stuff to further debugfs conversion 2011-06-01 11:21:52 +03:00