]> git.baikalelectronics.ru Git - kernel.git/commit
iio: imu: st_lsm6dsx: drop huge include in sensor-hub driver
authorLorenzo Bianconi <lorenzo@kernel.org>
Mon, 6 Apr 2020 19:00:25 +0000 (21:00 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 19 Apr 2020 15:56:38 +0000 (16:56 +0100)
commit7caa77144b3097c1e85c1f339eaf6b11468ac841
tree922b07db3de9574474e11638f91e3e455f50af4d
parent8af06e340291a7f1bf089bdbe3951952763eb237
iio: imu: st_lsm6dsx: drop huge include in sensor-hub driver

st_lsm6dsx is a standalone driver for STM IMU sensors and does not rely
on st_sensor common framework, so it does not include st_sensor common
definitions.
In st_lsm6dsx_shub driver st_sensors.h is used just to introduce the
default wai address for LIS3MDL sensor.
Drop this largely unconnected include file and introduce the default wai
address for LIS3MDL in st_lsm6dsx_ext_dev_settings register map

Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_shub.c