iio: imu: st_lsm6dsx: inline output acc/gyro output regs
authorLorenzo Bianconi <lorenzo@kernel.org>
Mon, 29 Jul 2019 19:22:30 +0000 (21:22 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Mon, 5 Aug 2019 14:02:43 +0000 (15:02 +0100)
commitec19a6f4999344fcd5e3a3bf8037f8c9e8c24433
tree46825c82c8062b27d5f97229f27bd278990c214a
parent640aca3fb897866297402f1387c12317d084b492
iio: imu: st_lsm6dsx: inline output acc/gyro output regs

Remove output register definition and inline register value since
they are used only for iio channel definition. This is a preliminary
patch to add support for LSM9DS1 sensor to st_lsm6dsx driver

Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Tested-by: Martin Kepplinger <martin.kepplinger@puri.sm>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_core.c