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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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(-)

-- 
2.34.1





[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Input]     [Linux Kernel]     [Linux SCSI]     [X.org]

  Powered by Linux