]> git.karo-electronics.de Git - karo-tx-linux.git/commit
iio: imu: st_lsm6dsx: simplify data ready pin parsing
authorLorenzo Bianconi <lorenzo.bianconi83@gmail.com>
Sun, 9 Apr 2017 18:03:37 +0000 (20:03 +0200)
committerJonathan Cameron <jic23@kernel.org>
Fri, 14 Apr 2017 14:32:43 +0000 (15:32 +0100)
commitbf23527798cfc0274fb1444c34289da8c4e866a0
tree6b4f423aa5a40ea9a6d30b4153ca23e126090eec
parentb4bac145b9d21200312287da09d2e29d1ff674e8
iio: imu: st_lsm6dsx: simplify data ready pin parsing

Simplify st_lsm6dsx_of_get_drdy_pin routine since of_property_read_u32
error conditions are already managed in st_lsm6dsx_get_drdy_reg()

Signed-off-by: Lorenzo Bianconi <lorenzo.bianconi@st.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_core.c