diff options
author | Julia Lawall <Julia.Lawall@lip6.fr> | 2012-09-01 18:33:09 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-09-05 12:41:57 -0700 |
commit | 9250dd5738ca2f2728913fefc6573daf5b95efa4 (patch) | |
tree | b52ecd7a3313bac45505946f1eaeafd927e3bc66 /drivers/tty/serial/serial_core.c | |
parent | d3dec96e401cc66d7280732558d711ac2ee7a531 (diff) | |
download | talos-op-linux-9250dd5738ca2f2728913fefc6573daf5b95efa4.tar.gz talos-op-linux-9250dd5738ca2f2728913fefc6573daf5b95efa4.zip |
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>
Diffstat (limited to 'drivers/tty/serial/serial_core.c')
0 files changed, 0 insertions, 0 deletions