Skip to content

iio: adc: ad7266: Use iio_device_claim_direct_scoped() and clean some codestyle error

Fernando Yang linux-iio 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest3 patches 3 repliesIn review
  2. v23 patches 5 repliesSuperseded

Changes in v3 from the cover letter

- Adding Fixed tag c70df20e3159 ("iio: adc: ad7266: claim direct mode during sensor read")

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3iio: adc: ad7266: Fix variable checking bugdrivers/iio/adc/ad7266.c+2 -01 reply
2/3iio: adc: ad7266: Use iio_device_claim_direct_scoped()drivers/iio/adc/ad7266.c+13 -141 reply
3/3iio: adc: ad7266: Fix codestyle errordrivers/iio/adc/ad7266.c+3 -11 reply

Reviews trailers per patch

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

Read the v3 thread

Cover letter [PATCH v3 0/3] iio: adc: ad7266: Use iio_device_claim_direct_scoped() and clean some codestyle error

Checks ret variable after iio_device_release_direct_mode() Switching _direct_mode() to the _scoped() version Fix some codestyle errors indicated by checkpatch.pl

changelog v2 -> v3:
- Adding Fixed tag c70df20e3159 ("iio: adc: ad7266: claim direct mode during sensor read")

Fernando Yang (3):
iio: adc: ad7266: Fix variable checking bug
iio: adc: ad7266: Use iio_device_claim_direct_scoped()
iio: adc: ad7266: Fix codestyle error

 drivers/iio/adc/ad7266.c | 23 +++++++++++++----------
 1 file changed, 13 insertions(+), 10 deletions(-)
Signature · 1 line
2.34.1