commit | 6fea8a426b67455a58b59964cee905754ab77497 | [log] [tgz] |
---|---|---|
author | Alison Schofield <amsfield22@gmail.com> | Tue May 24 12:18:43 2016 -0700 |
committer | Jonathan Cameron <jic23@kernel.org> | Sun May 29 19:36:01 2016 +0100 |
tree | 4d16bf23863506904fa7b20669ffea7199718667 | |
parent | a52f238e7c808d9fd1f9dfc675f583b77156cdeb [diff] |
iio: adc: ad7887: 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>