staging:iio: scan_index_timestamp move to iio_dev from buffer
authorJonathan Cameron <jic23@kernel.org>
Sat, 21 Apr 2012 09:09:34 +0000 (10:09 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 24 Apr 2012 18:23:37 +0000 (11:23 -0700)
commitf1264809eb7fe4227dc9fc47723b9bd44afc5641
tree022492fc06b6128a8e22557c20231a2d400ed892
parent6b3b58ed15cdc27b1ded4487d74c1b7ae04aa162
staging:iio: scan_index_timestamp move to iio_dev from buffer

This is just a locally cached value that is device specific (rather
than buffer specific.) Hence it wants to come out of the buffer before
we add multiple buffer support.

Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Acked-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/iio/buffer.h
drivers/staging/iio/iio.h
drivers/staging/iio/industrialio-buffer.c