diff options
author | Lorenzo Bianconi <lorenzo@kernel.org> | 2019-04-09 22:49:09 +0200 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2019-04-22 12:34:14 +0200 |
commit | b9fedb0a177a3b05f5c5e85b499f0e5c96807036 (patch) | |
tree | b25a667ee93a6c03e7839d5567cf39ce2da9c482 /usr | |
parent | iio: adc: Add driver for the TI ADS8344 A/DC chips (diff) | |
download | linux-b9fedb0a177a3b05f5c5e85b499f0e5c96807036.tar.xz linux-b9fedb0a177a3b05f5c5e85b499f0e5c96807036.zip |
iio: imu: st_lsm6dsx: inline per-sensor data
As it has been already done for other st sensors in 'commit 9049531c91b4
("iio: accel: st_accel: inline per-sensor data")', get rid of some
defines and just open code the values into the appropriate struct
elements since the semantic meaning is inherent in the name of the
C99-addressable fields and there is no reason to duplicate the code
Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions