diff options
author | Julia Lawall <Julia.Lawall@lip6.fr> | 2012-08-04 18:50:47 +0200 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2012-08-07 14:34:12 +0200 |
commit | 75c353ecacf54dbcca5e2e4388088893aac0fc34 (patch) | |
tree | 2d82c4a260a11e822303d033b07293d33bea52cb /net/decnet/dn_route.c | |
parent | 8e406fe4aebee50b18176947a68aab6f519843de (diff) |
drivers/pinctrl/pinctrl-nomadik.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/)
// <smpl>
@@
expression x,d;
@@
x = devm_kzalloc(...)
...
?-devm_kfree(d,x);
// </smpl>
Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'net/decnet/dn_route.c')
0 files changed, 0 insertions, 0 deletions