]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
iio: imu: inv_icm42600: Convert to uXX and sXX integer types
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Sun, 9 Nov 2025 19:24:36 +0000 (20:24 +0100)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Tue, 3 Mar 2026 21:20:00 +0000 (21:20 +0000)
The driver has a some use of intXX_t and uintXX_t types which is
not the pattern we use in the IIO subsystem. Switch the driver
to use kernel internal types for that. No functional changes.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/imu/inv_icm42600/inv_icm42600_accel.c

index 54760d8f92a279334338fd09e3ab74b2d939a46d..9be5ade24501290ba29b35adbcd4b398eab141e6 100644 (file)
@@ -1209,7 +1209,7 @@ int inv_icm42600_accel_parse_fifo(struct iio_dev *indio_dev)
        ssize_t i, size;
        unsigned int no;
        const void *accel, *gyro, *timestamp;
-       const int8_t *temp;
+       const s8 *temp;
        unsigned int odr;
        int64_t ts_val;
        /* buffer is copied to userspace, zeroing it to avoid any data leak */