Skip to content

tools: iio: Fix style issues

Cristina Opriceana linux-iio lkml 1 version Applied

Status from this message: Applied to the togreg branch of iio.git. Thanks,

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 6 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/3tools: iio: Remove explicit NULL comparisontools/iio/generic_buffer.c tools/iio/iio_utils.c tools/iio/lsiio.c+35 -352 replies
2/3tools: iio: Remove unnecessary bracestools/iio/iio_event_monitor.c+1 -22 replies
3/3tools: iio: Add ARRAY_SIZE macrotools/iio/iio_utils.c tools/iio/iio_utils.h+3 -12 replies

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchHartmut Knaack
1/3R-b
2/3A-b
3/3A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/3] tools: iio: Fix style issues

This patchset fixes some style issues in userspace iio tools as indicated by checkpatch.pl.

Cristina Opriceana (3):
tools: iio: Remove explicit NULL comparison
tools: iio: Remove unnecessary braces
tools: iio: Add ARRAY_SIZE macro

 tools/iio/generic_buffer.c    |  4 +--
 tools/iio/iio_event_monitor.c |  3 +--
 tools/iio/iio_utils.c         | 58 +++++++++++++++++++++----------------------
 tools/iio/iio_utils.h         |  2 ++
 tools/iio/lsiio.c             | 10 ++++----
 5 files changed, 39 insertions(+), 38 deletions(-)
Signature · 1 line
1.9.1