OpenCloudOS-Kernel/tools/iio
Cristina Opriceana 34cbea1908 tools: iio: Add ARRAY_SIZE macro
Calculation of the length of an array can be done with the ARRAY_SIZE
macro to make code more abstract and remove the associated
checkpatch.pl warning.

Signed-off-by: Cristina Opriceana <cristina.opriceana@gmail.com>
Acked-by: Hartmut Knaack <knaack.h@gmx.de>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
2015-07-20 18:41:23 +01:00
..
Makefile iio: make tools more cross-compilation friendly 2015-05-10 20:31:45 +01:00
generic_buffer.c tools: iio: Remove explicit NULL comparison 2015-07-20 18:41:22 +01:00
iio_event_monitor.c tools: iio: Remove unnecessary braces 2015-07-20 18:41:22 +01:00
iio_utils.c tools: iio: Add ARRAY_SIZE macro 2015-07-20 18:41:23 +01:00
iio_utils.h tools: iio: Add ARRAY_SIZE macro 2015-07-20 18:41:23 +01:00
lsiio.c tools: iio: Remove explicit NULL comparison 2015-07-20 18:41:22 +01:00