Tag: 66be0e5bf5f555742a14a14712b537470dd2ba7e

drivers/video/backlight/da9052_bl.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 Acked-by: Jingoo Han Signed-off-by: Florian Tobias Schandinat Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds — drivers/video/backlight/da9052_bl.c | 2 — …

Continue reading