staging:iio:buffering move the copy to user on rip down into implementations
authorJonathan Cameron <jic23@cam.ac.uk>
Fri, 11 Feb 2011 13:09:09 +0000 (13:09 +0000)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 18 Feb 2011 21:22:50 +0000 (13:22 -0800)
commitd5857d65b5f7fab78c69da4085f0ce85a0399b25
treef6c9dc35ce16ef374a85867fc6f4d8287aa86769
parentf2f1794835f1d8900d2b15d114c54e70c849809b
staging:iio:buffering move the copy to user on rip down into implementations

The current interface is not as adaptable as it should be. Moving
this complexity into the implementations makes it easier to add
new implementations.

Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk>
Tested-by: Michael Hennerich <michael.hennerich@analog.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/iio/industrialio-ring.c
drivers/staging/iio/ring_generic.h
drivers/staging/iio/ring_sw.c
drivers/staging/iio/ring_sw.h