commit | 1bb86ecb6c03e156cdbd89978320c839e9f954b4 | [log] [tgz] |
---|---|---|
author | Alison Schofield <amsfield22@gmail.com> | Tue May 24 12:20:24 2016 -0700 |
committer | Jonathan Cameron <jic23@kernel.org> | Sun May 29 19:38:31 2016 +0100 |
tree | 8aee882b34b178144b0bf753a1ce0be08f55e122 | |
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>