linux-stable/drivers/iio/accel
Octavian Purdila 802a3aef30 iio: bmc150: refactor slope duration and threshold update
Move the slope duration and threshold update in a separate function to
reduce code duplicate between chip init and motion interrupt setup.

Also move the slope update code from the interrupt setup function to
the trigger set state function so that we can later refactor the
interrupt code.

Signed-off-by: Octavian Purdila <octavian.purdila@intel.com>
Acked-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
2015-02-08 10:36:41 +00:00
..
bma180.c staging: iio: fix up merge error 2014-09-22 07:54:10 -07:00
bmc150-accel.c iio: bmc150: refactor slope duration and threshold update 2015-02-08 10:36:41 +00:00
hid-sensor-accel-3d.c iio: hid-sensor-accel-3d: Introduce PM 2015-01-25 22:55:42 +00:00
Kconfig iio: add driver for Freescale MMA9553 2015-01-30 20:34:59 +00:00
kxcjk-1013.c First round of IIO new drivers, cleanups and functionality for the 3.20 cycle take 2 2015-01-21 10:13:37 +08:00
kxsd9.c iio:accel:kxsd9 fix missing mutex unlock 2013-11-17 15:22:00 +00:00
Makefile iio: add driver for Freescale MMA9553 2015-01-30 20:34:59 +00:00
mma8452.c iio: accel: mma8452: Remove trailing whitespace 2015-01-01 12:12:09 +00:00
mma9551.c iio: accel: mma9551: split driver to expose mma955x api 2015-01-27 18:49:56 +00:00
mma9551_core.c iio: add driver for Freescale MMA9553 2015-01-30 20:34:59 +00:00
mma9551_core.h iio: add driver for Freescale MMA9553 2015-01-30 20:34:59 +00:00
mma9553.c iio: add driver for Freescale MMA9553 2015-01-30 20:34:59 +00:00
ssp_accel_sensor.c iio: common: ssp_sensors: Add sensorhub accelerometer sensor 2015-01-29 18:49:56 +00:00
st_accel.h iio:accel: Removed unnecessary parameter on common_probe function 2014-10-04 11:24:33 +01:00
st_accel_buffer.c iio:st_accel: Drop redundant call to iio_sw_buffer_preenable() 2013-10-16 19:11:11 +01:00
st_accel_core.c iio:accel: Removed unnecessary parameter on common_probe function 2014-10-04 11:24:33 +01:00
st_accel_i2c.c iio:common: Set the device pointer into ST common sensors library 2014-10-04 11:26:21 +01:00
st_accel_spi.c iio:common: Set the device pointer into ST common sensors library 2014-10-04 11:26:21 +01:00