commit | ff5c37e3eae2cdba4aba13dc8c7e840abb41e4bb | [log] [tgz] |
---|---|---|
author | Alison Schofield <amsfield22@gmail.com> | Tue Apr 05 21:11:31 2016 -0700 |
committer | Jonathan Cameron <jic23@kernel.org> | Sun Apr 10 14:58:52 2016 +0100 |
tree | 79df4b7451120d373827edde95fbf513f8ba4f1c | |
parent | c455e58354adcde7ba1ebf3d753eba9a07cd587d [diff] |
staging: iio: ad7606: use iio_device_{claim|release}_direct_mode() Replace the code that guarantees the device stays in direct mode with iio_device_{claim|release}_direct_mode() which does same. Signed-off-by: Alison Schofield <amsfield22@gmail.com> Acked-by: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: Jonathan Cameron <jic23@kernel.org>