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
..
2012-05-16 08:06:37 -07:00
2012-05-16 08:06:37 -07:00
2012-03-28 18:30:03 +01:00
2011-03-31 11:26:23 -03:00
2011-02-02 15:28:19 +01:00
2012-03-28 18:30:03 +01:00
2011-03-31 11:26:23 -03:00
2012-03-28 18:30:03 +01:00
2011-01-10 08:51:44 -08:00
2010-10-15 15:53:27 +02:00
2012-02-09 23:09:37 +01:00