commit | b4d46409d603ab041bcb1ac9858d076d29e78af8 | [log] [tgz] |
---|---|---|
author | Alison Schofield <amsfield22@gmail.com> | Mon Jul 18 12:35:24 2016 -0700 |
committer | Jonathan Cameron <jic23@kernel.org> | Sun Jul 24 19:58:41 2016 +0100 |
tree | 1580fa521ab1b104f87c3ccd465ae745c3d6658c | |
parent | 4d19c487555e8fe6e40f645c17e12cc30d4a18bf [diff] |
iio: adc: ad7793: 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> Cc: Daniel Baluta <daniel.baluta@gmail.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org>