Tag: 75c353ecacf54dbcca5e2e4388088893aac0fc34

drivers/pinctrl/pinctrl-nomadik.c: drop devm_kfree of devm_kzalloc’d data

Author: Julia Lawall <Julia.Lawall@lip6.fr> 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 Signed-off-by: Linus Walleij — drivers/pinctrl/pinctrl-nomadik.c | 1 – 1 file changed, 1 deletion(-)   diff –git a/drivers/pinctrl/pinctrl-nomadik.c b/drivers/pinctrl/pinctrl-nomadik.c …

Continue reading