Tag: 78bfee0e1e2e22c3062b41be8db618e7484c8e35

spi: spi-sh-hspi: drop frees of devm_ alloc’d data

Author: Julia Lawall <Julia.Lawall@lip6.fr> 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_region(…); ) // Signed-off-by: Julia Lawall Signed-off-by: Mark Brown — drivers/spi/spi-sh-hspi.c | 5 …

Continue reading