Skip to content
Commit c788b9e5 authored by Bragatheswaran Manickavel's avatar Bragatheswaran Manickavel Committed by Jonathan Cameron
Browse files

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: default avatarBragatheswaran Manickavel <bragathemanick0908@gmail.com>
Acked-by: default avatarJean-Baptiste Maneyrol <jean-baptiste.maneyrol@tdk.com>
Link: https://lore.kernel.org/r/20231027094410.3706-1-bragathemanick0908@gmail.com


Signed-off-by: default avatarJonathan Cameron <Jonathan.Cameron@huawei.com>
parent 3f6b9598
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment