commit | cadc2125e140f7122bf1b59d42486cfc778c7286 | [log] [tgz] |
---|---|---|
author | Lars-Peter Clausen <lars@metafoo.de> | Wed Sep 18 21:02:00 2013 +0100 |
committer | Jonathan Cameron <jic23@kernel.org> | Sat Sep 21 12:45:07 2013 +0100 |
tree | 9f4bffd9518d76850a981c877599cc1339de2b0e | |
parent | a87c82e454f184a9473f8cdfd4d304205f585f65 [diff] |
iio: fix: Keep a reference to the IIO device for open file descriptors Make sure that the IIO device is not freed while we still have file descriptors for it. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: Jonathan Cameron <jic23@kernel.org>