From: Julia Lawall Date: Fri, 5 Oct 2012 00:12:59 +0000 (-0700) Subject: drivers/video/backlight/da9052_bl.c: drop devm_kfree of devm_kzalloc'd data X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~12^2~123 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=66be0e5bf5f555742a14a14712b537470dd2ba7e;p=pandora-kernel.git drivers/video/backlight/da9052_bl.c: drop devm_kfree of devm_kzalloc'd data devm_kfree 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 Acked-by: Jingoo Han Signed-off-by: Florian Tobias Schandinat Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed