diff options
| author | Alison Schofield <amsfield22@gmail.com> | 2016-07-18 12:34:17 -0700 |
|---|---|---|
| committer | Jonathan Cameron <jic23@kernel.org> | 2016-07-24 19:58:42 +0100 |
| commit | d02ec00d00a5eb5e0ca8ef6ddf0a3774adb52b6a (patch) | |
| tree | 5e018760c1410a572dd6ff385eaed64ba02cc148 /security | |
| parent | iio: adc: ad7793: use iio helper function to guarantee direct mode (diff) | |
| download | linux-d02ec00d00a5eb5e0ca8ef6ddf0a3774adb52b6a.tar.gz linux-d02ec00d00a5eb5e0ca8ef6ddf0a3774adb52b6a.zip | |
iio: adc: ad7298: 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>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions
