Skip to content

Staging: iio/frequency: Fix style issues

Cristina Opriceana outreachy 2 versions In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest6 patches 6 repliesIn review
  2. v16 patches 7 repliesSuperseded

Changes in v2 from the cover letter

[PATCH v2 3/6]
- add BIT() macro implementation in ad9834.h for macros AD9834_REG_FREQ and AD9834_REG_PHASE involving phase and frequency registers. Checked against the datasheet.
[PATCH v2 5/6]
- make the commit message more clear
- align parameters in ad9834_show_out[0|1]_wavetype_available() functions, also.

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6Staging: iio: Remove space after type castdrivers/staging/iio/frequency/ad9832.c drivers/staging/iio/frequency/ad9834.c+6 -61 reply
2/6Staging: iio: Remove explicit comparison to NULLdrivers/staging/iio/frequency/ad9832.c drivers/staging/iio/frequency/ad9834.c+2 -21 reply
3/6Staging: iio: Prefer using the BIT macrodrivers/staging/iio/frequency/ad9832.c drivers/staging/iio/frequency/ad9832.h drivers/staging/iio/frequency/ad9834.c +1 more+27 -271 reply
4/6Staging: iio: Do not use multiple blank linesdrivers/staging/iio/frequency/ad9834.c drivers/staging/iio/frequency/ad9834.h+0 -21 reply
5/6Staging: iio: Alignment should match open parenthesisdrivers/staging/iio/frequency/ad9834.c+16 -141 reply
6/6Staging: iio: Use braces on all arms of if statementdrivers/staging/iio/frequency/ad9834.c+2 -21 reply

Reviews trailers per patch

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

PatchDaniel Baluta
1/6R-b
2/6R-b
3/6R-b
4/6R-b
5/6R-b
6/6R-b

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

Read the v2 thread

Cover letter [PATCH v2 0/6] Staging: iio/frequency: Fix style issues

This patchset involves removing style issues in iio/frequency and cleaning up as suggested by checkpatch.pl.

Changes in v2:
[PATCH v2 3/6]
- add BIT() macro implementation in ad9834.h for macros AD9834_REG_FREQ and AD9834_REG_PHASE involving phase and frequency registers. Checked against the datasheet.
[PATCH v2 5/6]
- make the commit message more clear
- align parameters in ad9834_show_out[0|1]_wavetype_available() functions, also.

Mention: Regarding the indentation, I applied the patches on a separate test branch and they aligned well. It shows up twisted only in the patch format for an unknown reason.

Cristina Opriceana (6):
Staging: iio: Remove space after type cast
Staging: iio: Remove explicit comparison to NULL
Staging: iio: Prefer using the BIT macro
Staging: iio: Do not use multiple blank lines
Staging: iio: Alignment should match open parenthesis
Staging: iio: Use braces on all arms of if statement

 drivers/staging/iio/frequency/ad9832.c | 10 ++++----
 drivers/staging/iio/frequency/ad9832.h | 12 ++++-----
 drivers/staging/iio/frequency/ad9834.c | 45 +++++++++++++++++-----------------
 drivers/staging/iio/frequency/ad9834.h | 37 ++++++++++++++--------------
 4 files changed, 52 insertions(+), 52 deletions(-)
Signature · 1 line
1.9.1