From: Lars-Peter Clausen Date: Mon, 18 Jun 2012 16:33:48 +0000 (+0200) Subject: iio: Add helper function for initializing triggered buffers X-Git-Tag: v3.6-rc1~100^2~709 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=23f2d735a932c7833d2d00da5e3ecdf4a6836210;p=pandora-kernel.git 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 Acked-by: Jonathan Cameron Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed