linux/drivers/iio/imu/inv_icm42600
Bragatheswaran Manickavel c788b9e56a iio/imu: inv_icm42600: Use max() helper macros
Use the standard max() helper macros instead of direct variable comparison
using if/else blocks or ternary operator. Change identified using
minmax.cocci Coccinelle semantic patch.

Signed-off-by: Bragatheswaran Manickavel <bragathemanick0908@gmail.com>
Acked-by: Jean-Baptiste Maneyrol <jean-baptiste.maneyrol@tdk.com>
Link: https://lore.kernel.org/r/20231027094410.3706-1-bragathemanick0908@gmail.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
2023-11-16 19:10:28 +00:00
..
inv_icm42600_accel.c iio/imu: inv_icm42600: Use max() helper macros 2023-11-16 19:10:28 +00:00
inv_icm42600_buffer.c iio/imu: inv_icm42600: Use max() helper macros 2023-11-16 19:10:28 +00:00
inv_icm42600_buffer.h iio: imu: inv_icm42600: Fix alignment for DMA safety in buffer code. 2022-06-14 11:53:18 +01:00
inv_icm42600_core.c iio: make invensense timestamp module generic 2023-07-20 19:21:28 +01:00
inv_icm42600_gyro.c iio/imu: inv_icm42600: Use max() helper macros 2023-11-16 19:10:28 +00:00
inv_icm42600_i2c.c iio: Switch i2c drivers back to use .probe() 2023-05-21 18:54:53 +01:00
inv_icm42600_spi.c iio: imu: inv_icm42600: Add support for icm42631 2022-11-23 19:58:45 +00:00
inv_icm42600_temp.c
inv_icm42600_temp.h
inv_icm42600.h iio: imu: inv_icm42600: Add support for icm42631 2022-11-23 19:58:45 +00:00
Kconfig iio: move inv_icm42600 timestamp module in common 2023-07-20 19:21:28 +01:00
Makefile iio: move inv_icm42600 timestamp module in common 2023-07-20 19:21:28 +01:00