iio: accel: bmc150: use available_scan_masks
authorIrina Tirdea <irina.tirdea@intel.com>
Thu, 24 Mar 2016 09:29:26 +0000 (11:29 +0200)
committerJonathan Cameron <jic23@kernel.org>
Sun, 3 Apr 2016 09:27:40 +0000 (10:27 +0100)
commit23e758b36898d5ff6cc0cd2e54c498b24a15b0dd
treecf38b22c3d4545796361df04572e3772bf25d21f
parent91307cbeca7fd372342aaea7e814a19156ee8e64
iio: accel: bmc150: use available_scan_masks

Use available_scan_masks to allow the iio core to select
the data to send to userspace depending on which axes are
enabled, instead of doing this in the driver's interrupt
handler.

Signed-off-by: Irina Tirdea <irina.tirdea@intel.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/accel/bmc150-accel-core.c
This page took 0.024315 seconds and 5 git commands to generate.