commit | adca058b56108eb3458165c6a9e5d78558be8b52 | [log] [tgz] |
---|---|---|
author | Matt Ranostay <mranostay@gmail.com> | Fri Aug 19 20:17:02 2016 -0700 |
committer | Jonathan Cameron <jic23@kernel.org> | Sun Aug 21 11:47:19 2016 +0100 |
tree | 979cca3ed01fb1ea688b170d34e0d7bfdc5d30a4 | |
parent | a4fa6509dda47e51c3582409e8630b24702970c5 [diff] |
iio: buffer-callback: allow getting underlying iio_dev Add iio_channel_cb_get_iio_dev function to allow getting the underlying iio_dev. This is useful for setting the trigger of the consumer ADC device. Signed-off-by: Matt Ranostay <mranostay@gmail.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org>