]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
iio: adc: ti-lmp92064: Switch timestamp type from int64_t __aligned(8) to aligned_s64
authorJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 15 Dec 2024 18:29:07 +0000 (18:29 +0000)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sat, 28 Dec 2024 14:28:15 +0000 (14:28 +0000)
commitee13a020ac80768b5045685cc1c514fe2d28da17
treef0063e6df4c6d5681e37982e93a1940dd7944648
parent2ed45bc333b4211ac250df6e7e7b848c4c62750b
iio: adc: ti-lmp92064: Switch timestamp type from int64_t __aligned(8) to aligned_s64

The vast majority of IIO drivers use aligned_s64 for the type of the
timestamp field.  It is not a bug to use int64_t and until this series
iio_push_to_buffers_with_timestamp() took and int64_t timestamp, it
is inconsistent.  This change is to remove that inconsistency and
ensure there is one obvious choice for future drivers.

Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://patch.msgid.link/20241215182912.481706-17-jic23@kernel.org
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/adc/ti-lmp92064.c