iio: adc: mt6360-adc: use aligned_s64 for timestamp
authorDavid Lechner <dlechner@baylibre.com>
Thu, 17 Apr 2025 16:52:34 +0000 (11:52 -0500)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Wed, 21 May 2025 13:20:27 +0000 (14:20 +0100)
commitc88ec0d8ad8fc2ca522fe40546906f25bad53484
tree33fa6b24257dc342f620ca35af3564da96e4a8d4
parentf4cd499970cc9a0ade52132075d4faabf5ef77f5
iio: adc: mt6360-adc: use aligned_s64 for timestamp

Follow the pattern of other drivers and use aligned_s64 for the
timestamp. This will ensure that the timestamp is correctly aligned on
all architectures. It also ensures that the struct itself it also 8-byte
aligned so we can drop the explicit __aligned(8) attribute.

Signed-off-by: David Lechner <dlechner@baylibre.com>
Reviewed-by: Nuno Sá <nuno.sa@analog.com>
Link: https://patch.msgid.link/20250417-iio-more-timestamp-alignment-v1-2-eafac1e22318@baylibre.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/adc/mt6360-adc.c