diff options
author | 2016-06-27 11:17:56 +0800 | |
---|---|---|
committer | 2016-06-27 21:06:40 +0100 | |
commit | 29e3e06d893105febb9c9ccaff856fcdcbe3f712 (patch) | |
tree | 6c4056d7eb63d815ae274afdd9f59e483ee0ac7d /tools/perf/scripts/python/export-to-postgresql.py | |
parent | iio: adc: max1363: Fix missing i2c_device_id for MAX1164x parts (diff) | |
download | linux-dev-29e3e06d893105febb9c9ccaff856fcdcbe3f712.tar.xz linux-dev-29e3e06d893105febb9c9ccaff856fcdcbe3f712.zip |
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 <preid@electromag.com.au>
Acked-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions