linux-sg2042/drivers/iio/buffer
Phil Reid 29e3e06d89 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>
2016-06-27 21:06:40 +01:00
..
Kconfig iio: Add a DMAengine framework based buffer 2015-10-25 13:55:32 +00:00
Makefile iio: Add a DMAengine framework based buffer 2015-10-25 13:55:32 +00:00
industrialio-buffer-cb.c
industrialio-buffer-dma.c iio: buffer-dma: Use ARRAY_SIZE in for loop range 2016-06-27 21:06:40 +01:00
industrialio-buffer-dmaengine.c iio: buffer-dmaengine: Use dmaengine_terminate_sync() 2016-02-09 21:05:17 +00:00
industrialio-triggered-buffer.c
kfifo_buf.c