iio: imu: st_lsm6dsx: add support to multiple devices with the same settings
authorLorenzo Bianconi <lorenzo.bianconi83@gmail.com>
Sun, 29 Jan 2017 10:49:24 +0000 (11:49 +0100)
committerJonathan Cameron <jic23@kernel.org>
Sat, 4 Feb 2017 12:22:51 +0000 (12:22 +0000)
commitd068e4a0f9213074c5d893b8b80ca7bca444ed1d
tree204c7efec8f9c6f9bf2e41cc8f9c628d3c64e479
parentfeda2840040fcf87d826b0aec945a98222e656ba
iio: imu: st_lsm6dsx: add support to multiple devices with the same settings

Add capability to support multiple devices with the same
st_lsm6dsx_settings like LSM6DSM/LSM6DSL

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