iio: pressure: st_pressure: fix drdy configuration for LPS22HB and LPS25H
authorLorenzo Bianconi <lorenzo.bianconi83@gmail.com>
Fri, 11 Aug 2017 19:44:13 +0000 (21:44 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sat, 12 Aug 2017 12:46:32 +0000 (13:46 +0100)
commitef0bc2e83966b5aed055acb6d16a3788de5205f4
tree4ec5c246c2c8b90e2d435c2545942786e5633200
parentce0d376140838b080b8625892203704d6f10784b
iio: pressure: st_pressure: fix drdy configuration for LPS22HB and LPS25H

Remove int2 configuration parameter for LPS22HB and LPS25H since
these devices export just int1 as data-ready line

Fixes: 931878405b86 (iio:pressure: Add support for LPS25H pressure sensor)
Fixes: e039e2f5b4da (iio:st_pressure:initial lps22hb sensor support)
Signed-off-by: Lorenzo Bianconi <lorenzo.bianconi@st.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/pressure/st_pressure_core.c