linux-stable/drivers/iio/imu
Haibo Chen 8d46cb07e8 iio: imu: st_lsm6dsx: use dev_to_iio_dev() to get iio_dev struct
commit 6270bf1f01 upstream.

dev_get_drvdata() on iio_dev->dev no longer returns the iio_dev.
Use dev_to_iio_dev() to get iio_dev struct.

Fixes: 8b7651f259 ("iio: iio_device_alloc(): Remove unnecessary self drvdata")
Signed-off-by: Haibo Chen <haibo.chen@nxp.com>
Link: https://lore.kernel.org/r/1645702191-9400-1-git-send-email-haibo.chen@nxp.com
Cc: <Stable@vger.kernel.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-04-08 13:57:15 +02:00
..
bmi160 iio: Drop Duplicated "mount-matrix" parameter 2021-06-03 18:24:13 +01:00
inv_icm42600 iio:imu:inv_icm42600: Suppress clang W=1 warning about pointer to enum conversion. 2021-12-21 15:10:09 +00:00
inv_mpu6050 iio:imu:inv_mpu6050: Suppress clang W=1 warning about pointer to enum conversion. 2021-12-21 15:10:09 +00:00
st_lsm6dsx iio: imu: st_lsm6dsx: use dev_to_iio_dev() to get iio_dev struct 2022-04-08 13:57:15 +02:00
st_lsm9ds0 iio: st_lsm9ds0: Make use of the helper function dev_err_probe() 2021-10-19 08:30:44 +01:00
adis.c iio: adis: handle devices that cannot unmask the drdy pin 2021-10-19 08:27:34 +01:00
adis16400.c iio: imu: adis16400: Fix buffer alignment requirements. 2021-10-19 08:29:22 +01:00
adis16460.c iio: adis16460: make use of the new unmasked_drdy flag 2021-10-19 08:27:34 +01:00
adis16475.c First set of IIO new device and feature support for the 5.16 cycle 2021-10-19 11:44:28 +02:00
adis16480.c iio:imu:adis16480: fix buffering for devices with no burst mode 2022-01-23 18:23:48 +00:00
adis_buffer.c iio: adis: add burst_max_speed_hz variable 2021-05-17 13:49:09 +01:00
adis_trigger.c iio: adis: handle devices that cannot unmask the drdy pin 2021-10-19 08:27:34 +01:00
fxos8700.h iio: imu: Add support for the FXOS8700 IMU 2019-10-22 10:24:50 +01:00
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: Fix error handling for PM 2022-01-30 14:50:34 +00:00
Makefile iio: st_sensors: Add lsm9ds0 IMU support 2021-05-17 13:54:22 +01:00