commit | 6b3b58ed15cdc27b1ded4487d74c1b7ae04aa162 | [log] [tgz] |
---|---|---|
author | Jonathan Cameron <jic23@kernel.org> | Sat Apr 21 10:09:33 2012 +0100 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Tue Apr 24 11:23:36 2012 -0700 |
tree | 49d212dd4715aad07bd182c7e963d722d1341f70 | |
parent | a714af276f5002b44e97a2d6d03f85bdae627c41 [diff] |
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>