commit | 29e3e06d893105febb9c9ccaff856fcdcbe3f712 | [log] [tgz] |
---|---|---|
author | Phil Reid <[email protected]> | Mon Jun 27 11:17:56 2016 +0800 |
committer | Jonathan Cameron <[email protected]> | Mon Jun 27 21:06:40 2016 +0100 |
tree | 6c4056d7eb63d815ae274afdd9f59e483ee0ac7d | |
parent | c48c7b2e470ede9bfae2bff3ab8ba1fe5e832f64 [diff] |
iio: buffer-dma: Use ARRAY_SIZE in for loop range Use the ARRAY_SIZE macro in the for loops that access queue->fileio.blocks. Macro is already used in a couple of places where this access occurs, but range was hardcoded in these locations. Signed-off-by: Phil Reid <[email protected]> Acked-by: Lars-Peter Clausen <[email protected]> Signed-off-by: Jonathan Cameron <[email protected]>