commit | a52f238e7c808d9fd1f9dfc675f583b77156cdeb | [log] [tgz] |
---|---|---|
author | Alison Schofield <amsfield22@gmail.com> | Tue May 24 12:18:06 2016 -0700 |
committer | Jonathan Cameron <jic23@kernel.org> | Sun May 29 19:34:40 2016 +0100 |
tree | f992236ca7cc200857ee4f86862dee101174fd9f | |
parent | c70df20e31595cf696c8b4f50fc7d82b69f3dd5c [diff] |
iio: adc: ad7476: 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>