iio: pressure: st_pressure: fix drdy configuration for LPS22HB and LPS25H

commit ef0bc2e839 upstream.

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

Fixes: 931878405b (iio:pressure: Add support for LPS25H pressure sensor)
Fixes: e039e2f5b4 (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>
[bwh: Backported to 3.16:
 - Update the macro used to fill in this field
 - Drop change for LPS22HB]
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
This commit is contained in:
Lorenzo Bianconi 2017-08-11 21:44:13 +02:00 • committed by Ben Hutchings
commit 4c49404dce