]> git.baikalelectronics.ru Git - kernel.git/commit
staging: iio: ad7606: use iio_device_{claim|release}_direct_mode()
authorAlison Schofield <amsfield22@gmail.com>
Wed, 6 Apr 2016 04:11:31 +0000 (21:11 -0700)
committerJonathan Cameron <jic23@kernel.org>
Sun, 10 Apr 2016 13:58:52 +0000 (14:58 +0100)
commit230d401d8005e7121aafcb5cb42bb5d2c1cdd107
tree79df4b7451120d373827edde95fbf513f8ba4f1c
parentb2de7c356aafc2db37b93dd58de82348ee4f9d95
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>
drivers/staging/iio/adc/ad7606_core.c