drivers/tty/serial/sirfsoc_uart.c: drop frees of devm_ alloc'd data
authorJulia Lawall <Julia.Lawall@lip6.fr>
Sat, 1 Sep 2012 16:33:09 +0000 (18:33 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 5 Sep 2012 19:41:57 +0000 (12:41 -0700)
commit9250dd5738ca2f2728913fefc6573daf5b95efa4
treeb52ecd7a3313bac45505946f1eaeafd927e3bc66
parentd3dec96e401cc66d7280732558d711ac2ee7a531
drivers/tty/serial/sirfsoc_uart.c: drop frees of devm_ alloc'd data

devm free functions should not have to be explicitly used.

A semantic match that finds this problem is as follows:
(http://coccinelle.lip6.fr/)

// <smpl>
@@
@@

(
* devm_kfree(...);
|
* devm_free_irq(...);
|
* devm_iounmap(...);
|
* devm_release_region(...);
|
* devm_release_mem_region(...);
)
// </smpl>

Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/sirfsoc_uart.c