staging:iio:buffer: pull computation of scan length into a utility function.
authorJonathan Cameron <jic23@kernel.org>
Sat, 21 Apr 2012 09:09:33 +0000 (10:09 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 24 Apr 2012 18:23:36 +0000 (11:23 -0700)
commit6b3b58ed15cdc27b1ded4487d74c1b7ae04aa162
tree49d212dd4715aad07bd182c7e963d722d1341f70
parenta714af276f5002b44e97a2d6d03f85bdae627c41
staging:iio:buffer: pull computation of scan length into a utility function.

Principal reason is to make later patches more coherent and easier to review
but this set in itself separates a logical entity out nicely wihin the code.

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/industrialio-buffer.c