linux/drivers/iio
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
..
accel iio: mma8452: update Freescale company information 2016-06-11 17:25:18 +01:00
adc iio: adc: max1363: Fix missing i2c_device_id for MAX1164x parts 2016-06-27 20:59:13 +01:00
amplifiers spi: Updates for v4.4 2015-11-05 13:15:12 -08:00
buffer iio: buffer-dma: Use ARRAY_SIZE in for loop range 2016-06-27 21:06:40 +01:00
chemical iio: chemical: atlas-ph-sensor: add EC feature 2016-05-29 20:03:23 +01:00
common iio:st_sensors: fix power regulator usage 2016-05-29 16:08:10 +01:00
dac iio: stx104: Add GPIO support for the Apex Embedded Systems STX104 2016-06-27 20:59:11 +01:00
dummy iio: dummy: Convert IIO dummy to configfs 2016-05-04 11:44:06 +01:00
frequency iio: frequency: ad9523: use unsigned int rather then bare unsigned 2016-04-17 10:31:03 +01:00
gyro iio:st_sensors: fix power regulator usage 2016-05-29 16:08:10 +01:00
health iio: health/afe4404: ENSEPGAIN is part of CONTROL2 register 2016-05-04 11:14:16 +01:00
humidity iio: Export I2C module alias information 2016-05-21 20:08:14 +01:00
imu imu: bmi160: Add avail frequency and scale attributes 2016-05-04 10:51:39 +01:00
light iio: light: gp2ap020a00f: use iio helper function to lock direct mode 2016-06-11 17:18:22 +01:00
magnetometer iio: magnetometer: bmc150: Document Bosch supported chips 2016-05-29 20:06:11 +01:00
orientation iio: orientation: hid-sensor-rotation: Fix memory leak in probe() 2015-05-17 09:10:25 +01:00
potentiometer iio: max5487: Add support for Maxim digital potentiometers 2016-05-21 20:13:14 +01:00
pressure iio: ms5637 Add Measurement Specialties explicit MS5805 and MS5837 support 2016-06-11 17:27:52 +01:00
proximity iio: proximity: as3935: remove redundant zeroing of tune_cap 2016-06-27 20:59:12 +01:00
temperature iio: Export I2C module alias information 2016-05-21 20:08:14 +01:00
trigger iio:trigger: Experimental kthread tight loop trigger (thread only) 2016-06-03 13:18:44 +01:00
iio_core_trigger.h
iio_core.h
industrialio-buffer.c iio: Add helper function for calculating scan index storage size 2016-02-06 18:21:35 +00:00
industrialio-configfs.c iio:configfs: Introduce iio/configfs.h to provide a location for the configfs_subsystem 2015-12-05 16:25:30 +00:00
industrialio-core.c iio: electricalconductivity: add IIO_ELECTRICALCONDUCTIVITY type 2016-05-29 20:03:21 +01:00
industrialio-event.c iio: event: Remove negative error code from iio_event_poll 2015-08-12 19:26:39 +01:00
industrialio-sw-device.c iio: Add support for creating IIO devices via configfs 2016-05-04 11:43:54 +01:00
industrialio-sw-trigger.c iio: core: fix ptr_ret.cocci warnings 2016-01-20 17:09:18 -08:00
industrialio-trigger.c iio: Refuse to register triggers with duplicate names 2016-06-27 20:59:08 +01:00
industrialio-triggered-event.c iio: Support triggered events 2015-08-27 20:47:09 +01:00
inkern.c iio: core: Add devm_ APIs for iio_channel_{get,release}_all 2016-04-19 19:58:15 +01:00
Kconfig iio: Add support for creating IIO devices via configfs 2016-05-04 11:43:54 +01:00
Makefile iio: Add support for creating IIO devices via configfs 2016-05-04 11:43:54 +01:00