Re: [PATCH 3/4] drivers/mtd/maps/autcpu12-nvram.c: drop frees of devm_ alloc'd data

2012-09-04 Thread Artem Bityutskiy
On Sat, 2012-09-01 at 18:33 +0200, Julia Lawall wrote: > From: Julia Lawall > > devm free functions should not have to be explicitly used. > > A semantic match that finds this problem is as follows: > (http://coccinelle.lip6.fr/) Pushed to l2-mtd.git, thanks! -- Best Regards, Artem Bityutskiy

[PATCH 3/4] drivers/mtd/maps/autcpu12-nvram.c: drop frees of devm_ alloc'd data

2012-09-01 Thread Julia Lawall
From: Julia Lawall devm free functions should not have to be explicitly used. A semantic match that finds this problem is as follows: (http://coccinelle.lip6.fr/) // @@ @@ ( * devm_kfree(...); | * devm_free_irq(...); | * devm_iounmap(...); | * devm_release_region(...); | * devm_release_mem_re