]> git.proxmox.com Git - mirror_ubuntu-eoan-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)
commitff5c37e3eae2cdba4aba13dc8c7e840abb41e4bb
tree79df4b7451120d373827edde95fbf513f8ba4f1c
parentc455e58354adcde7ba1ebf3d753eba9a07cd587d
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