linux-stable/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
amd76xrom.c
autcpu12-nvram.c
bast-flash.c
cdb89712.c
ceiva.c
cfi_flagadm.c
ck804xrom.c
dbox2-flash.c
dc21285.c
dilnetpc.c
dmv182.c
ebony.c
edb7312.c
esb2rom.c
fortunet.c
h720x-flash.c
ichxrom.c
impa7.c
integrator-flash.c
ipaq-flash.c
ixp4xx.c
ixp2000.c
Kconfig
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
Makefile
map_funcs.c
mbx860.c
mpc1211.c
mtx-1_flash.c
netsc520.c
nettel.c
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
pmcmsp-flash.c
pmcmsp-ramroot.c
pnc2000.c
pq2fads.c
redwood.c
rpxlite.c
sa1100-flash.c
sbc8240.c
sbc_gxx.c
sc520cdp.c
scb2_flash.c
scx200_docflash.c
sharpsl-flash.c
solutionengine.c
sun_uflash.c
tqm8xxl.c
tqm834x.c
ts5500_flash.c
tsunami_flash.c
uclinux.c
vmax301.c
walnut.c
wr_sbc82xx_flash.c