From: Julia Lawall Date: Sat, 4 Aug 2012 16:50:46 +0000 (+0200) Subject: drivers/char/hw_random/octeon-rng.c: drop frees of devm allocated data X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~19^2~41 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4dbb845ddedff87fc1289ad0e2d780a4a7918356;p=pandora-kernel.git 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/) // @@ expression x,d; @@ x = devm_kzalloc(...) ... ?-devm_kfree(d,x); // Signed-off-by: Julia Lawall Signed-off-by: Herbert Xu --- Reading git-diff-tree failed