linux/drivers/mtd/maps
Atsushi Nemoto 3136e903fa [MTD] physmap: fix memory leak on physmap_flash_remove by using devres
physmap_flash_remove releases only last memory region.  This causes
memory leak if multiple resources were provided.

This patch fixes this leakage by using devm_ functions.

Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
2008-11-26 10:26:29 +00:00
..
alchemy-flash.c [MTD] Remove useless references to MIPS_HYDROGEN3 and MIPS_MIRAGE_WHY. 2007-07-23 12:50:51 +01:00
amd76xrom.c removed unused #include <linux/version.h>'s 2008-08-23 12:14:12 -07:00
autcpu12-nvram.c [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
bfin-async-flash.c [MTD] [MAPS] Blackfin Async Flash Maps 2008-06-04 17:57:23 +01:00
cdb89712.c [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
ceiva.c [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
cfi_flagadm.c MTD/JFFS2: remove CVS keywords 2008-06-04 17:50:17 +01:00
ck804xrom.c removed unused #include <linux/version.h>'s 2008-08-23 12:14:12 -07:00
dbox2-flash.c MTD/JFFS2: remove CVS keywords 2008-06-04 17:50:17 +01:00
dc21285.c MTD/JFFS2: remove CVS keywords 2008-06-04 17:50:17 +01:00
dilnetpc.c MTD/JFFS2: remove CVS keywords 2008-06-04 17:50:17 +01:00
dmv182.c MTD/JFFS2: remove CVS keywords 2008-06-04 17:50:17 +01:00
edb7312.c MTD/JFFS2: remove CVS keywords 2008-06-04 17:50:17 +01:00
esb2rom.c removed unused #include <linux/version.h>'s 2008-08-23 12:14:12 -07:00
fortunet.c MTD/JFFS2: remove CVS keywords 2008-06-04 17:50:17 +01:00
h720x-flash.c [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
ichxrom.c MTD/JFFS2: remove CVS keywords 2008-06-04 17:50:17 +01:00
impa7.c MTD/JFFS2: remove CVS keywords 2008-06-04 17:50:17 +01:00
integrator-flash.c [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
intel_vr_nor.c [MTD] map driver for NOR flash on the Intel Vermilion Range chipset 2007-09-23 18:51:25 +01:00
ipaq-flash.c [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
ixp4xx.c MTD/JFFS2: remove CVS keywords 2008-06-04 17:50:17 +01:00
ixp2000.c [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
Kconfig [MTD] [MAPS] Maps: make uclinux mapping driver depend on MTD_RAM 2008-09-26 19:05:34 -06:00
l440gx.c MTD/JFFS2: remove CVS keywords 2008-06-04 17:50:17 +01:00
Makefile [MTD] Remove references to TI 'toto' platform. 2008-08-04 11:30:07 +01:00
map_funcs.c MTD/JFFS2: remove CVS keywords 2008-06-04 17:50:17 +01:00
mbx860.c MTD/JFFS2: remove CVS keywords 2008-06-04 17:50:17 +01:00
netsc520.c MTD/JFFS2: remove CVS keywords 2008-06-04 17:50:17 +01:00
nettel.c MTD/JFFS2: remove CVS keywords 2008-06-04 17:50:17 +01:00
octagon-5066.c MTD/JFFS2: remove CVS keywords 2008-06-04 17:50:17 +01:00
omap_nor.c [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
pci.c [MTD] [MAPS] Remove unused variable after ROM API cleanup. 2008-10-14 11:00:51 +01:00
pcmciamtd.c pcmcia: remove unused argument to pcmcia_parse_tuple() 2008-08-31 15:50:33 +02:00
physmap_of.c [MTD] remove unused mtd parameter in of_mtd_parse_partitions() 2008-10-13 15:01:42 +01:00
physmap.c [MTD] physmap: fix memory leak on physmap_flash_remove by using devres 2008-11-26 10:26:29 +00:00
plat-ram.c MTD/JFFS2: remove CVS keywords 2008-06-04 17:50:17 +01:00
pmcmsp-flash.c [MTD] replace remaining __FUNCTION__ occurrences 2008-04-22 12:36:04 +01:00
pmcmsp-ramroot.c
pxa2xx-flash.c [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
redwood.c MTD/JFFS2: remove CVS keywords 2008-06-04 17:50:17 +01:00
rpxlite.c MTD/JFFS2: remove CVS keywords 2008-06-04 17:50:17 +01:00
sa1100-flash.c [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
sbc8240.c MTD/JFFS2: remove CVS keywords 2008-06-04 17:50:17 +01:00
sbc_gxx.c MTD/JFFS2: remove CVS keywords 2008-06-04 17:50:17 +01:00
sc520cdp.c MTD/JFFS2: remove CVS keywords 2008-06-04 17:50:17 +01:00
scb2_flash.c MTD/JFFS2: remove CVS keywords 2008-06-04 17:50:17 +01:00
scx200_docflash.c MTD/JFFS2: remove CVS keywords 2008-06-04 17:50:17 +01:00
sharpsl-flash.c MTD/JFFS2: remove CVS keywords 2008-06-04 17:50:17 +01:00
solutionengine.c MTD/JFFS2: remove CVS keywords 2008-06-04 17:50:17 +01:00
sun_uflash.c sparc: Annotate of_device_id arrays with const or __initdata. 2008-08-31 01:23:17 -07:00
tqm8xxl.c MTD/JFFS2: remove CVS keywords 2008-06-04 17:50:17 +01:00
ts5500_flash.c MTD/JFFS2: remove CVS keywords 2008-06-04 17:50:17 +01:00
tsunami_flash.c MTD/JFFS2: remove CVS keywords 2008-06-04 17:50:17 +01:00
uclinux.c Merge git://git.infradead.org/mtd-2.6 2008-07-26 20:30:56 -07:00
vmax301.c MTD/JFFS2: remove CVS keywords 2008-06-04 17:50:17 +01:00
wr_sbc82xx_flash.c MTD/JFFS2: remove CVS keywords 2008-06-04 17:50:17 +01:00