diff options
author | Alison Schofield <amsfield22@gmail.com> | 2016-05-24 12:20:24 -0700 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2016-05-29 19:38:31 +0100 |
commit | 1bb86ecb6c03e156cdbd89978320c839e9f954b4 (patch) | |
tree | 8aee882b34b178144b0bf753a1ce0be08f55e122 /tools/iio | |
parent | 9f57e068e01c14f34f69244e1f4a6c567d93cdfe (diff) |
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