commit | 23f2d735a932c7833d2d00da5e3ecdf4a6836210 | [log] [tgz] |
---|---|---|
author | Lars-Peter Clausen <lars@metafoo.de> | Mon Jun 18 18:33:48 2012 +0200 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Mon Jun 18 17:26:09 2012 -0700 |
tree | 2e0d4da782473ccd226fc6f4221b2c0bc92ba411 | |
parent | f5b81ddd12da71bd00b2963203c23ff929e0c182 [diff] |
iio: Add helper function for initializing triggered buffers 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 <lars@metafoo.de> Acked-by: Jonathan Cameron <jic23@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>