commit | 9f57e068e01c14f34f69244e1f4a6c567d93cdfe | [log] [tgz] |
---|---|---|
author | Alison Schofield <amsfield22@gmail.com> | Tue May 24 12:19:49 2016 -0700 |
committer | Jonathan Cameron <jic23@kernel.org> | Sun May 29 19:36:59 2016 +0100 |
tree | ee5498b9faea68313d728b468090cbc4182aecfe | |
parent | 6fea8a426b67455a58b59964cee905754ab77497 [diff] |
iio: adc: ad7923: 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>