aboutsummaryrefslogtreecommitdiff
path: root/include/linux/iio/triggered_buffer.h
AgeCommit message (Collapse)AuthorFilesLines
2012-06-18iio: Add helper function for initializing triggered buffersLars-Peter Clausen1-0/+15
Add a helper function for executing the common tasks which are usually involved in setting up a simple software ringbuffer. It will allocate the buffer, allocate the pollfunc and register the buffer. Signed-off-by: Lars-Peter Clausen <[email protected]> Acked-by: Jonathan Cameron <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>