kernel-fxtec-pro1x/drivers/mtd/maps
David Gibson c4d5e37547 [POWERPC] Cleanups for physmap_of.c (v2)
This patch includes a whole batch of smallish cleanups for
drivers/mtd/physmap_of.c.

	- A bunch of uneeded #includes are removed
	- We switch to the modern linux/of.h etc. in place of
asm/prom.h
	- Use some helper macros to avoid some ugly inline #ifdefs
	- A few lines of unreachable code are removed
	- A number of indentation / line-wrapping fixes
	- More consistent use of kernel idioms such as if (!p) instead
of if (p == NULL)
	- Clarify some printk()s and other informative strings.
	- parse_obsolete_partitions() now returns 0 if no partition
information is found, instead of returning -ENOENT which the caller
had to handle specially.
	- (the big one) Despite the name, this driver really has
nothing to do with drivers/mtd/physmap.c.  The fact that the flash
chips must be physically direct mapped is a constrant, but doesn't
really say anything about the actual purpose of this driver, which is
to instantiate MTD devices based on information from the device tree.
Therefore the physmap name is replaced everywhere within the file with
"of_flash".  The file itself and the Kconfig option is not renamed for
now (so that the diff is actually a diff).  That can come later.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Josh Boyer <jwboyer@linux.vnet.ibm.com>
2007-09-20 07:37:16 -05:00
..
alchemy-flash.c [MTD] Alchemy cleanups 2007-04-17 18:19:58 +01:00
amd76xrom.c [MTD] [MAPS] amd76xrom warning fix 2007-02-18 16:42:25 +00:00
autcpu12-nvram.c
bast-flash.c [MTD] Remove trailing whitespace 2006-11-30 08:17:38 +00:00
cdb89712.c
ceiva.c [MTD] replace kmalloc+memset with kzalloc 2006-11-28 23:47:21 +00:00
cfi_flagadm.c Fix typos in doc and comments 2006-11-30 05:32:19 +01:00
ck804xrom.c [MTD] [MAPS] drivers/mtd/maps/ck804xrom.c: convert pci_module_init() 2007-04-27 23:34:21 +01:00
dbox2-flash.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
dc21285.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
dilnetpc.c [MTD] [MAPS] dilnetpc: Fix printk warning 2007-03-08 09:46:28 +00:00
dmv182.c fix file specification in comments 2006-10-03 23:01:26 +02:00
ebony.c ioremap balanced with iounmap for drivers/mtd subsystem 2006-09-22 10:24:31 +01:00
edb7312.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
esb2rom.c [MTD] ESB2 check for closed ROM window 2007-03-08 09:21:42 +00:00
fortunet.c ioremap balanced with iounmap for drivers/mtd subsystem 2006-09-22 10:24:31 +01:00
h720x-flash.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
ichxrom.c [MTD] [MAPS] ichxrom warning fix 2007-02-18 16:42:51 +00:00
impa7.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
integrator-flash.c [MTD] replace kmalloc+memset with kzalloc 2006-11-28 23:47:21 +00:00
ipaq-flash.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
ixp4xx.c [MTD] Fix ixp4xx partition parsing. 2006-09-22 10:16:16 +01:00
ixp2000.c [MTD] Remove unused 'nr_banks' variable from ixp2000 map driver 2006-06-27 14:36:20 +01:00
Kconfig [POWERPC] Fixes to allow use of Ebony's flash chips through physmap_of 2007-08-17 11:01:51 +10:00
l440gx.c [MTD] Switch to pci_get_device and do ref counting 2006-09-22 10:19:20 +01:00
lubbock-flash.c [ARM] 4554/1: replace consistent_sync() with flush_ioremap_region() 2007-08-23 12:31:31 +01:00
mainstone-flash.c [ARM] 4554/1: replace consistent_sync() with flush_ioremap_region() 2007-08-23 12:31:31 +01:00
Makefile [MIPS] remove LASAT Networks platforms support 2007-07-10 17:33:04 +01:00
map_funcs.c
mbx860.c
mpc1211.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
mtx-1_flash.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
netsc520.c [MTD] [MAPS] netsc520 warning fix 2007-02-18 16:41:31 +00:00
nettel.c Fix occurrences of "the the " 2007-05-09 08:57:56 +02:00
ocelot.c
ocotea.c ioremap balanced with iounmap for drivers/mtd subsystem 2006-09-22 10:24:31 +01:00
octagon-5066.c
omap-toto-flash.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
omap_nor.c [MTD] replace kmalloc+memset with kzalloc 2006-11-28 23:47:21 +00:00
pci.c [PATCH] Dead code in mtd/maps/pci.c 2006-03-31 12:18:49 -08:00
pcmciamtd.c [MTD] replace kmalloc+memset with kzalloc 2006-11-28 23:47:21 +00:00
physmap.c [MTD] replace kmalloc+memset with kzalloc 2006-11-28 23:47:21 +00:00
physmap_of.c [POWERPC] Cleanups for physmap_of.c (v2) 2007-09-20 07:37:16 -05:00
plat-ram.c [MTD] [MAPS] fix plat-ram printk format 2007-04-26 07:28:58 +01:00
pmcmsp-flash.c [MTD] PMC MSP71xx flash/rootfs mappings 2007-04-02 14:10:58 -04:00
pmcmsp-ramroot.c [MTD] PMC MSP71xx flash/rootfs mappings 2007-04-02 14:10:58 -04:00
pnc2000.c
pq2fads.c
redwood.c [MTD] Cleanup of 'ioremap balanced with iounmap for drivers/mtd subsystem' 2006-10-02 09:48:23 +01:00
rpxlite.c
sa1100-flash.c [MTD] replace kmalloc+memset with kzalloc 2006-11-28 23:47:21 +00:00
sbc8240.c ioremap balanced with iounmap for drivers/mtd subsystem 2006-09-22 10:24:31 +01:00
sbc_gxx.c
sc520cdp.c [MTD] [MAPS] sc520cdp warning fix 2007-02-18 16:41:01 +00:00
scb2_flash.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
scx200_docflash.c [MTD] Switch to pci_get_device and do ref counting 2006-09-22 10:19:20 +01:00
sharpsl-flash.c [PATCH] drivers/mtd: Use ARRAY_SIZE macro 2006-03-31 12:18:48 -08:00
solutionengine.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
sun_uflash.c [SPARC/64] constify of_get_property return: drivers 2007-04-26 01:54:27 -07:00
tqm8xxl.c [MTD] replace kmalloc+memset with kzalloc 2006-11-28 23:47:21 +00:00
tqm834x.c [MTD] replace kmalloc+memset with kzalloc 2006-11-28 23:47:21 +00:00
ts5500_flash.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
tsunami_flash.c
uclinux.c [MTD] [MAPS] don't force uclinux mtd map to be root dev 2007-05-11 11:48:15 +01:00
vmax301.c [PATCH] drivers/mtd/maps/vmax301.c: fix off by one vmax_mtd 2006-03-31 12:18:49 -08:00
walnut.c ioremap balanced with iounmap for drivers/mtd subsystem 2006-09-22 10:24:31 +01:00
wr_sbc82xx_flash.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00