iio: adc: ad_sigma_delta: use u8 instead of uint8_t
authorDavid Lechner <dlechner@baylibre.com>
Tue, 1 Jul 2025 21:37:51 +0000 (16:37 -0500)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 13 Jul 2025 14:36:25 +0000 (15:36 +0100)
commit11d58620dfd0c52b0c49b04d28707c7a5a2d00ae
tree578e621f31052514fe09b94b8b8c82c67a4179bf
parent67189665e0630d1eaec539a50b37d1022db65dca
iio: adc: ad_sigma_delta: use u8 instead of uint8_t

Replace uint8_t with u8 in the ad_sigma_delta driver.

Technically, uint8_t comes from the C standard library, while u8 is a
Linux kernel type. Since we don't use the C standard library in the
kernel, we should use the kernel types instead.

There is also one instance where int64_t is replaced with s64.

Signed-off-by: David Lechner <dlechner@baylibre.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Nuno Sá <nuno.sa@analog.com>
Link: https://patch.msgid.link/20250701-iio-adc-ad7173-add-spi-offload-support-v3-3-42abb83e3dac@baylibre.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/adc/ad_sigma_delta.c
include/linux/iio/adc/ad_sigma_delta.h