commit | e4e8b7765867e8f4705bcc18b8930edbe0e4ef3c | [log] [tgz] |
---|---|---|
author | Lars-Peter Clausen <lars@metafoo.de> | Mon Jun 04 10:50:02 2012 +0200 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Mon Jun 04 21:21:29 2012 -0700 |
tree | d908c7a41b1b0f6917007eb4e4621a041905301a | |
parent | 44dd5b02530a5aaea16c1a0a9eea377407445b4a [diff] |
iio: Add iio_device_get() This patch add the iio_device_get() function, which increases the reference count of a iio device. The matching function to decrease the reference count - iio_device_put() - already exists. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Acked-by: Jonathan Cameron <jic23@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>