linux-stable/drivers/iio/imu
Alexandru Ardelean e426965154 iio: st_sensors: remove reference to parent device object on st_sensor_data
The idea behind it, is that all devm_ calls in ST sensors are bound to the
parent device object.

However, the reference to that object is kept on both the st_sensor_data
struct and the IIO object parent (indio_dev->dev.parent).

This change only adds a bit consistency and uses the reference stored on
indio_dev->dev.parent, to enforce the assumption that all ST sensors' devm_
calls are bound to the same reference as the one store on st_sensor_data.

Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Alexandru Ardelean <aardelean@deviqon.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/20210823112204.243255-6-aardelean@deviqon.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
2021-09-14 12:00:32 +01:00
..
bmi160 iio: Drop Duplicated "mount-matrix" parameter 2021-06-03 18:24:13 +01:00
inv_icm42600 iio: Drop Duplicated "mount-matrix" parameter 2021-06-03 18:24:13 +01:00
inv_mpu6050 drivers/iio: Remove all strcpy() uses 2021-09-14 12:00:30 +01:00
st_lsm6dsx iio: Drop Duplicated "mount-matrix" parameter 2021-06-03 18:24:13 +01:00
st_lsm9ds0 iio: st_sensors: remove reference to parent device object on st_sensor_data 2021-09-14 12:00:32 +01:00
adis.c iio: adis: set GPIO reset pin direction 2021-07-17 18:41:04 +01:00
adis16400.c iio: imu: remove unused private data assigned with spi_set_drvdata() 2021-06-13 17:00:17 +01:00
adis16460.c iio: imu: remove unused private data assigned with spi_set_drvdata() 2021-06-13 17:00:17 +01:00
adis16475.c iio: imu: remove unused private data assigned with spi_set_drvdata() 2021-06-13 17:00:17 +01:00
adis16480.c iio: imu: remove unused private data assigned with spi_set_drvdata() 2021-06-13 17:00:17 +01:00
adis_buffer.c iio: adis: add burst_max_speed_hz variable 2021-05-17 13:49:09 +01:00
adis_trigger.c iio: core: move @id from struct iio_dev to struct iio_dev_opaque 2021-05-17 13:49:13 +01:00
fxos8700.h
fxos8700_core.c iio: remove explicit IIO device parent assignment 2020-06-14 11:49:59 +01:00
fxos8700_i2c.c iio: imu: fxos8700: Drop unneeded explicit castings 2021-03-25 19:13:50 +00:00
fxos8700_spi.c iio: imu: fxos8700: Drop unneeded explicit castings 2021-03-25 19:13:50 +00:00
Kconfig iio: st_sensors: Add lsm9ds0 IMU support 2021-05-17 13:54:22 +01:00
kmx61.c iio: imu: kmx61: Balance runtime pm + use pm_runtime_resume_and_get() 2021-05-17 13:54:26 +01:00
Makefile iio: st_sensors: Add lsm9ds0 IMU support 2021-05-17 13:54:22 +01:00