diff options
| author | Sachin Kamat <sachin.kamat@linaro.org> | 2013-08-31 18:12:00 +0100 |
|---|---|---|
| committer | Jonathan Cameron <jic23@kernel.org> | 2013-09-07 21:46:50 +0100 |
| commit | 1e319cecdb4800e03a803e96da63091de0165ecb (patch) | |
| tree | f665d6e047ae81acaf2ff8890c7981002d37af31 /include/linux/errqueue.h | |
| parent | 6898eb89655a8ac7d098b2fada95c1c91870365c (diff) | |
staging: iio: ad7192: Use devm_* APIs and fix a memory leak
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>
Diffstat (limited to 'include/linux/errqueue.h')
0 files changed, 0 insertions, 0 deletions
