diff options
author | Alison Schofield <amsfield22@gmail.com> | 2016-07-25 12:11:20 -0700 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2016-08-15 17:12:43 +0100 |
commit | b75b58b46b7cfd9c8e715bb3eada9e3892d217e2 (patch) | |
tree | 7fcab9983a179308368b61f4dcd3272fa1eb6fea /drivers/hwmon/ltc2945.c | |
parent | ca1902ff98bcd9fe655028b19573e436fe9d3c76 (diff) |
iio: accel: bma180: 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 'drivers/hwmon/ltc2945.c')
0 files changed, 0 insertions, 0 deletions