commit | b75b58b46b7cfd9c8e715bb3eada9e3892d217e2 | [log] [tgz] |
---|---|---|
author | Alison Schofield <amsfield22@gmail.com> | Mon Jul 25 12:11:20 2016 -0700 |
committer | Jonathan Cameron <jic23@kernel.org> | Mon Aug 15 17:12:43 2016 +0100 |
tree | 7fcab9983a179308368b61f4dcd3272fa1eb6fea | |
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>