git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d3dec96
)
drivers/tty/serial/sirfsoc_uart.c: drop frees of devm_ alloc'd data
author
Julia Lawall
<Julia.Lawall@lip6.fr>
Sat, 1 Sep 2012 16:33:09 +0000
(18:33 +0200)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Wed, 5 Sep 2012 19:41:57 +0000
(12:41 -0700)
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
patch
|
blob
|
history
diff --cc
drivers/tty/serial/sirfsoc_uart.c
Simple merge