dect
/
linux-2.6
Archived
13
0
Fork 0
This repository has been archived on 2022-02-17. You can view files and clone it, but cannot push or open issues or pull requests.
linux-2.6/drivers/mtd/devices
Artem Bityutskiy 3c3c10bba1 mtd: add leading underscore to all mtd functions
This patch renames all MTD functions by adding a "_" prefix:

mtd->erase -> mtd->_erase
mtd->read_oob -> mtd->_read_oob
...

The reason is that we are re-working the MTD API and from now on it is
an error to use MTD function pointers directly - we have a corresponding
API call for every pointer. By adding a leading "_" we achieve the following:

1. Make sure we convert every direct pointer users
2. A leading "_" suggests that this interface is internal and it becomes
   less likely that people will use them directly
3. Make sure all the out-of-tree modules stop compiling and the owners
   spot the big API change and amend them.

Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
2012-03-27 00:20:01 +01:00
..
Kconfig mtd: ST SPEAr: Add SMI driver for serial NOR flash 2012-03-27 00:14:16 +01:00
Makefile mtd: ST SPEAr: Add SMI driver for serial NOR flash 2012-03-27 00:14:16 +01:00
block2mtd.c mtd: add leading underscore to all mtd functions 2012-03-27 00:20:01 +01:00
doc2000.c mtd: add leading underscore to all mtd functions 2012-03-27 00:20:01 +01:00
doc2001.c mtd: add leading underscore to all mtd functions 2012-03-27 00:20:01 +01:00
doc2001plus.c mtd: add leading underscore to all mtd functions 2012-03-27 00:20:01 +01:00
docecc.c mtd: spelling, capitalization, uniformity 2011-09-11 15:02:13 +03:00
docg3.c mtd: add leading underscore to all mtd functions 2012-03-27 00:20:01 +01:00
docg3.h mtd: docg3: fixes and cleanups 2012-01-09 18:13:05 +00:00
docprobe.c mtd: docprobe: use kzalloc instead 2012-01-09 18:25:51 +00:00
lart.c mtd: add leading underscore to all mtd functions 2012-03-27 00:20:01 +01:00
m25p80.c mtd: add leading underscore to all mtd functions 2012-03-27 00:20:01 +01:00
ms02-nv.c mtd: add leading underscore to all mtd functions 2012-03-27 00:20:01 +01:00
ms02-nv.h MTD/JFFS2: remove CVS keywords 2008-06-04 17:50:17 +01:00
mtd_dataflash.c mtd: add leading underscore to all mtd functions 2012-03-27 00:20:01 +01:00
mtdram.c mtd: add leading underscore to all mtd functions 2012-03-27 00:20:01 +01:00
phram.c mtd: add leading underscore to all mtd functions 2012-03-27 00:20:01 +01:00
pmc551.c mtd: add leading underscore to all mtd functions 2012-03-27 00:20:01 +01:00
slram.c mtd: add leading underscore to all mtd functions 2012-03-27 00:20:01 +01:00
spear_smi.c mtd: add leading underscore to all mtd functions 2012-03-27 00:20:01 +01:00
sst25l.c mtd: add leading underscore to all mtd functions 2012-03-27 00:20:01 +01:00