diff options
author | Julia Lawall <Julia.Lawall@lip6.fr> | 2012-09-01 16:33:08 (GMT) |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-09-05 23:44:19 (GMT) |
commit | 78bfee0e1e2e22c3062b41be8db618e7484c8e35 (patch) | |
tree | b3241dba2b34f307f324ee8356c0155204144200 /tools | |
parent | b4b8482690d97ea5421acf71e9e397fe0c5a25b8 (diff) | |
download | linux-78bfee0e1e2e22c3062b41be8db618e7484c8e35.tar.xz |
spi: spi-sh-hspi: 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: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions