linux/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
..
Kconfig [POWERPC] Fixes to allow use of Ebony's flash chips through physmap_of 2007-08-17 11:01:51 +10:00
Makefile [MIPS] remove LASAT Networks platforms support 2007-07-10 17:33:04 +01: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
cfi_flagadm.c
ck804xrom.c [MTD] [MAPS] drivers/mtd/maps/ck804xrom.c: convert pci_module_init() 2007-04-27 23:34:21 +01:00
dbox2-flash.c
dc21285.c
dilnetpc.c [MTD] [MAPS] dilnetpc: Fix printk warning 2007-03-08 09:46:28 +00:00
dmv182.c
ebony.c
edb7312.c
esb2rom.c [MTD] ESB2 check for closed ROM window 2007-03-08 09:21:42 +00:00
fortunet.c
h720x-flash.c
ichxrom.c [MTD] [MAPS] ichxrom warning fix 2007-02-18 16:42:51 +00:00
impa7.c
integrator-flash.c
ipaq-flash.c
ixp4xx.c
ixp2000.c
l440gx.c
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
map_funcs.c
mbx860.c
mpc1211.c
mtx-1_flash.c
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
octagon-5066.c
omap-toto-flash.c
omap_nor.c
pci.c
pcmciamtd.c
physmap.c
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
rpxlite.c
sa1100-flash.c
sbc8240.c
sbc_gxx.c
sc520cdp.c [MTD] [MAPS] sc520cdp warning fix 2007-02-18 16:41:01 +00:00
scb2_flash.c
scx200_docflash.c
sharpsl-flash.c
solutionengine.c
sun_uflash.c [SPARC/64] constify of_get_property return: drivers 2007-04-26 01:54:27 -07:00
tqm8xxl.c
tqm834x.c
ts5500_flash.c
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
walnut.c
wr_sbc82xx_flash.c