iio: accel: st_accel: fix data-ready line configuration
authorLorenzo Bianconi <lorenzo.bianconi83@gmail.com>
Fri, 11 Aug 2017 19:44:14 +0000 (21:44 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sat, 12 Aug 2017 12:46:47 +0000 (13:46 +0100)
commit4303741f99d617c1fc3c9069195d3d620c2f88c4
tree61b4506f1ea21d4bbe66f25c82b0941d6e7450c9
parentef0bc2e83966b5aed055acb6d16a3788de5205f4
iio: accel: st_accel: fix data-ready line configuration

Remove int2 configuration parameter for LIS3DH, LSM303DLHC, LSM330D,
LSM330DL, LSM330DLC, LSM303AGR, LIS2DH12 and LNG2DM since these devices
export just int1 as data-ready line

Fixes: 23cde4d65cc7 (iio: Added platform data to select the DRDY pin)
Fixes: dcdb0a78cab3 (iio: accel: st_accel: add support to lng2dm)
Signed-off-by: Lorenzo Bianconi <lorenzo.bianconi@st.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/accel/st_accel_core.c