kernel_optimize_test/drivers/char/hw_random
Julia Lawall 4dbb845dde drivers/char/hw_random/octeon-rng.c: drop frees of devm allocated data
devm_kfree and devm_iounmap should not have to be explicitly used.

The semantic patch that fixes this problem is as follows:
(http://coccinelle.lip6.fr/)

// <smpl>
@@
expression x,d;
@@

x = devm_kzalloc(...)
...
?-devm_kfree(d,x);
// </smpl>

Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2012-08-20 16:28:13 +08:00
..
amd-rng.c hwrng: amd - manage resource allocation 2011-05-04 15:13:15 +10:00
atmel-rng.c hwrng: atmel-rng - fix data valid check 2012-06-12 08:27:04 +08:00
bcm63xx-rng.c hw_random: add Broadcom BCM63xx RNG driver 2012-07-24 16:33:11 +02:00
core.c Update my e-mail address 2011-07-07 15:18:01 +02:00
exynos-rng.c hwrng: exynos - Add support for Exynos random number generator 2012-07-11 11:06:14 +08:00
geode-rng.c hwrng: Use PCI_VDEVICE 2009-06-25 13:50:53 +08:00
intel-rng.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
ixp4xx-rng.c [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
Kconfig Merge branch 'upstream' of git://git.linux-mips.org/pub/scm/ralf/upstream-linus 2012-07-30 11:45:52 -07:00
Makefile Merge branch 'upstream' of git://git.linux-mips.org/pub/scm/ralf/upstream-linus 2012-07-30 11:45:52 -07:00
mxc-rnga.c hwrng: mxc-rnga - fix data_present API 2012-06-27 14:42:00 +08:00
n2-asm.S sparc64: Add Niagara2 RNG driver. 2008-07-18 00:46:09 -07:00
n2-drv.c char: hw_random: convert drivers/char/hw_random/* to use module_platform_driver() 2011-11-30 16:12:47 +08:00
n2rng.h n2rng: Attach on Niagara-T3. 2011-07-28 01:26:30 -07:00
nomadik-rng.c ARM: 7362/1: AMBA: Add module_amba_driver() helper macro for amba_driver 2012-03-16 23:32:35 +00:00
octeon-rng.c drivers/char/hw_random/octeon-rng.c: drop frees of devm allocated data 2012-08-20 16:28:13 +08:00
omap-rng.c omap-rng: Use struct dev_pm_ops for power management 2012-07-10 21:36:51 +02:00
pasemi-rng.c char: hw_random: convert drivers/char/hw_random/* to use module_platform_driver() 2011-11-30 16:12:47 +08:00
picoxcell-rng.c char: hw_random: convert drivers/char/hw_random/* to use module_platform_driver() 2011-11-30 16:12:47 +08:00
ppc4xx-rng.c char: hw_random: convert drivers/char/hw_random/* to use module_platform_driver() 2011-11-30 16:12:47 +08:00
pseries-rng.c powerpc/pseries/hwrng: PFO-based hwrng driver 2012-05-14 10:49:12 +10:00
timeriomem-rng.c char: hw_random: convert drivers/char/hw_random/* to use module_platform_driver() 2011-11-30 16:12:47 +08:00
tx4939-rng.c hwrng: tx4939 - use devm_request_and_ioremap 2012-01-13 16:38:40 +11:00
via-rng.c hwrng: via_rng - Fix memory scribbling on some CPUs 2011-01-07 14:55:06 +11:00
virtio-rng.c virtio: rng: s3/s4 support 2012-07-30 13:30:50 +09:30