aboutsummaryrefslogtreecommitdiff
path: root/tools/iio/generic_buffer.c
diff options
context:
space:
mode:
authorCristina Opriceana <[email protected]>2015-07-13 16:20:11 +0300
committerJonathan Cameron <[email protected]>2015-07-20 18:41:23 +0100
commit34cbea1908fb686b037e01e5b1ab8e0e67b09ed3 (patch)
tree7c6186632a1e254502f133a8c4b94a25a45faa57 /tools/iio/generic_buffer.c
parent37d38e2bcce055c3988977429dc4336c866df73d (diff)
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 <[email protected]> Acked-by: Hartmut Knaack <[email protected]> Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'tools/iio/generic_buffer.c')
0 files changed, 0 insertions, 0 deletions