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:
6898eb8
)
staging: iio: ad7192: Use devm_* APIs and fix a memory leak
author
Sachin Kamat
<sachin.kamat@linaro.org>
Sat, 31 Aug 2013 17:12:00 +0000
(18:12 +0100)
committer
Jonathan Cameron
<jic23@kernel.org>
Sat, 7 Sep 2013 20:46:50 +0000
(21:46 +0100)
devm_* APIs are device managed and make code simpler.
The memory leak was a lack of freeing the iio_dev structure in the
remove function.
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
No differences found