diff options
| author | Jorge Harrisonn <jorge.harrisonn@usp.br> | 2024-05-01 18:57:23 -0300 |
|---|---|---|
| committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2024-05-27 09:48:55 +0100 |
| commit | f26cc90a463646a2246c4c90eeaef5f5f624ea74 (patch) | |
| tree | 3356413d7ca827587f625345979757490a274ab6 /tools/lib/python | |
| parent | 1613e604df0cd359cf2a7fbd9be7a0bcfacfabd0 (diff) | |
iio: adc: ad7606: using claim_direct_scoped for code simplification
Using iio_device_claim_direct_scoped instead of calling `iio_device
_claim_direct_modeand later callingiio_device_release_direct_mode`
This should make code cleaner and error handling easier
Co-authored-by: Lais Nuto <laisnuto@usp.br>
Signed-off-by: Lais Nuto <laisnuto@usp.br>
Signed-off-by: Jorge Harrisonn <jorge.harrisonn@usp.br>
Link: https://lore.kernel.org/r/20240501215724.26655-2-jorge.harrisonn@usp.br
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions
