OpenCloudOS-Kernel/drivers/iio/imu/inv_icm42600
Jonathan Cameron 072cc9816c iio:imu:inv_icm42600: Suppress clang W=1 warning about pointer to enum conversion.
Cast to a uintptr_t rather than directly to the enum.

As per the discussion in below linked media patch.

Link: https://lore.kernel.org/linux-media/CAK8P3a2ez6nEw4d+Mqa3XXAz0RFTZHunqqRj6sCt7Y_Eqqs0rw@mail.gmail.com/
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Cc: Jean-Baptiste Maneyrol <jmaneyrol@invensense.com>
Reviewed-by: Nathan Chancellor <nathan@kernel.org>
Link: https://lore.kernel.org/r/20211128172445.2616166-8-jic23@kernel.org
2021-12-21 15:10:09 +00:00
..
Kconfig iio: imu: inv_icm42600: add buffer support in iio devices 2020-06-27 14:23:18 +01:00
Makefile iio: imu: inv_icm42600: add accurate timestamping 2020-06-27 14:24:42 +01:00
inv_icm42600.h iio: imu: inv_icm42600: add accurate timestamping 2020-06-27 14:24:42 +01:00
inv_icm42600_accel.c iio: make use of devm_iio_kfifo_buffer_setup() helper 2021-03-11 20:47:01 +00:00
inv_icm42600_buffer.c iio: imu: inv_icm42600: add accurate timestamping 2020-06-27 14:24:42 +01:00
inv_icm42600_buffer.h iio: imu: inv_icm42600: add buffer support in iio devices 2020-06-27 14:23:18 +01:00
inv_icm42600_core.c iio: Drop Duplicated "mount-matrix" parameter 2021-06-03 18:24:13 +01:00
inv_icm42600_gyro.c iio: make use of devm_iio_kfifo_buffer_setup() helper 2021-03-11 20:47:01 +00:00
inv_icm42600_i2c.c iio:imu:inv_icm42600: Suppress clang W=1 warning about pointer to enum conversion. 2021-12-21 15:10:09 +00:00
inv_icm42600_spi.c iio:imu:inv_icm42600: Suppress clang W=1 warning about pointer to enum conversion. 2021-12-21 15:10:09 +00:00
inv_icm42600_temp.c iio: imu: inv_icm42600: add temperature sensor support 2020-06-27 14:20:16 +01:00
inv_icm42600_temp.h iio: imu: inv_icm42600: add temperature sensor support 2020-06-27 14:20:16 +01:00
inv_icm42600_timestamp.c iio: imu: inv_icm42600: add accurate timestamping 2020-06-27 14:24:42 +01:00
inv_icm42600_timestamp.h iio: imu: inv_icm42600: add accurate timestamping 2020-06-27 14:24:42 +01:00