diff options
author | Alison Schofield | 2016-05-24 21:20:24 +0200 |
---|---|---|
committer | Jonathan Cameron | 2016-05-29 20:38:31 +0200 |
commit | 1bb86ecb6c03e156cdbd89978320c839e9f954b4 (patch) | |
tree | 8aee882b34b178144b0bf753a1ce0be08f55e122 /tools/iio | |
parent | iio: adc: ad7923: use iio helper function to guarantee direct mode (diff) | |
download | kernel-qcow2-linux-1bb86ecb6c03e156cdbd89978320c839e9f954b4.tar.gz kernel-qcow2-linux-1bb86ecb6c03e156cdbd89978320c839e9f954b4.tar.xz kernel-qcow2-linux-1bb86ecb6c03e156cdbd89978320c839e9f954b4.zip |
iio: adc: ad799x: use iio helper function to guarantee direct mode
Replace the code that guarantees the device stays in direct mode
with iio_device_claim_direct_mode() which does same.
Signed-off-by: Alison Schofield <amsfield22@gmail.com>
Acked-by: Daniel Baluta <daniel.baluta@gmail.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'tools/iio')
0 files changed, 0 insertions, 0 deletions