staging:iio:buffer add a cache of the timestamp scan index.
authorJonathan Cameron <jic23@cam.ac.uk>
Mon, 5 Dec 2011 21:37:11 +0000 (21:37 +0000)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 8 Dec 2011 19:36:11 +0000 (11:36 -0800)
commitbeb80600b017ff4c407e9e72eb7f9a884fed4210
tree106f3bab1293ab3e6a759c6935340ca443fb33a7
parent5fb21c824e8ff22ae9361a789e8b845d72ae0557
staging:iio:buffer add a cache of the timestamp scan index.

Basically avoids looking it up lots of times.

Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/iio/buffer.h
drivers/staging/iio/industrialio-buffer.c