Skip to content

staging: iio: ad7150: improve driver readability

Melissa Wen linux-iio lkml 2 versions – Applied

Status from this message: Applied,

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 3 repliesApplied
  2. v14 patches 12 repliesSuperseded

Changes in v2 from the cover letter

- Remove noisy patch that reorganized registers definitions
- Remove else to improve i2c return operation.

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/3staging: iio: ad7150: use FIELD_GET and GENMASKdrivers/staging/iio/cdc/ad7150.c+5 -11 reply
2/3staging: iio: ad7150: simplify i2c SMBus return treatmentdrivers/staging/iio/cdc/ad7150.c+2 -71 reply
3/3staging: iio: ad7150: clean up of commentsdrivers/staging/iio/cdc/ad7150.c+2 -91 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/3] staging: iio: ad7150: improve driver readability

This patchset solves readability issues in AD7150 code: use of FIELD_GET to fashion improvement, make operation more succint and remove useless comments.

Changes in v2:
- Remove noisy patch that reorganized registers definitions
- Remove else to improve i2c return operation.

Melissa Wen (3):
staging: iio: ad7150: use FIELD_GET and GENMASK
staging: iio: ad7150: simplify i2c SMBus return treatment
staging: iio: ad7150: clean up of comments

 drivers/staging/iio/cdc/ad7150.c | 26 +++++++++-----------------
 1 file changed, 9 insertions(+), 17 deletions(-)
Signature · 1 line
2.20.1