commit | 5022c5a43314b4acc0746f1c37293612ca8ebbc9 | [log] [tgz] |
---|---|---|
author | Martin Kepplinger <martin.kepplinger@puri.sm> | Wed Aug 21 15:25:18 2019 +0200 |
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | Tue Aug 27 20:58:34 2019 +0100 |
tree | ca90d769ae44065585133f0f809ed3572518ec6d | |
parent | 3b72950d5a331686f55a11149b93e2543289b19b [diff] |
iio: imu: st_lsm6dsx: move register definitions to sensor_settings struct Move some register definitions to the per-device array of struct st_lsm6dsx_sensor_settings in order to simplify adding new sensor devices to the driver. Also, remove completely unused register definitions. Signed-off-by: Martin Kepplinger <martin.kepplinger@puri.sm> Acked-by: Lorenzo Bianconi <lorenzo@kernel.org> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>