linux/drivers/iio/imu/st_lsm6dsx
Javier Carrasco cb98410db7 iio: imu: st_lsm6dsx: drop casting to void in dev_set_drvdata
The C standard specifies that there is no need to cast from a pointer to
void [1]. Therefore, it can be safely dropped.

[1] C Standard Committee: https://c0x.shape-of-code.com/6.3.2.3.html

Signed-off-by: Javier Carrasco <javier.carrasco.cruz@gmail.com>
Link: https://lore.kernel.org/r/20240303-void_in_dev_set_drvdata-v1-4-ae39027d740b@gmail.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
2024-03-25 20:10:12 +00:00
..
Kconfig iio: imu: st_lsm6dsx: add support to ASM330LHHXG1 2024-02-17 16:16:11 +00:00
Makefile
st_lsm6dsx_buffer.c iio: imu: st_lsm6dsx: add support to ASM330LHHXG1 2024-02-17 16:16:11 +00:00
st_lsm6dsx_core.c iio: imu: st_lsm6dsx: drop casting to void in dev_set_drvdata 2024-03-25 20:10:12 +00:00
st_lsm6dsx_i2c.c iio: imu: st_lsm6dsx: add support to ASM330LHHXG1 2024-02-17 16:16:11 +00:00
st_lsm6dsx_i3c.c iio: imu: lsm6dsx: Move exported symbols to the IIO_LSM6DSX namespace 2022-06-15 22:07:09 +01:00
st_lsm6dsx_shub.c iio: imu: st_lsm6dsx: fix naming of 'struct iio_info' in st_lsm6dsx_shub.c. 2023-01-21 18:17:25 +00:00
st_lsm6dsx_spi.c iio: imu: st_lsm6dsx: add support to ASM330LHHXG1 2024-02-17 16:16:11 +00:00
st_lsm6dsx.h iio: imu: st_lsm6dsx: add support to ASM330LHHXG1 2024-02-17 16:16:11 +00:00