iio: st_sensors: decouple irq1 configuration parameters from the irq2 ones
authorLorenzo Bianconi <lorenzo.bianconi83@gmail.com>
Wed, 30 Aug 2017 11:50:40 +0000 (13:50 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Mon, 9 Oct 2017 20:04:22 +0000 (21:04 +0100)
commit75d4c6d2e15d4455dfd5995c27e6e6ad6f214e39
tree7bb05fba1690480c49b2456f279a8696e4d53fef
parente72a060151e5bb673af24993665e270fc4f674a7
iio: st_sensors: decouple irq1 configuration parameters from the irq2 ones

Separate data-ready configuration parameters for INT1 and INT2 pins in
st_sensor_data_ready_irq data structure. That change will be use to
properly support LIS2DW12 accel sensor.

Signed-off-by: Lorenzo Bianconi <lorenzo.bianconi@st.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/accel/st_accel_core.c
drivers/iio/common/st_sensors/st_sensors_core.c
drivers/iio/gyro/st_gyro_core.c
drivers/iio/magnetometer/st_magn_core.c
drivers/iio/pressure/st_pressure_core.c
include/linux/iio/common/st_sensors.h