iio: magnetometer: st_magn: fix status register address for LSM303AGR
authorLorenzo Bianconi <lorenzo.bianconi83@gmail.com>
Wed, 16 Aug 2017 17:02:50 +0000 (19:02 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 20 Aug 2017 14:21:48 +0000 (15:21 +0100)
commit541ee9b24fca587f510fe1bc58508d5cf40707af
tree822f85de0c9292da4a4e07dd6a9882290fbb1965
parentf1664eaacec31035450132c46ed2915fd2b2049a
iio: magnetometer: st_magn: fix status register address for LSM303AGR

Fixes: 97865fe41322 (iio: st_sensors: verify interrupt event to status)
Signed-off-by: Lorenzo Bianconi <lorenzo.bianconi@st.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Cc: <Stable@vger.kernel.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/magnetometer/st_magn_core.c