]> www.infradead.org Git - users/willy/xarray.git/commit
iio: chemical: sps30: use aligned_s64 for timestamp
authorDavid Lechner <dlechner@baylibre.com>
Thu, 17 Apr 2025 16:52:37 +0000 (11:52 -0500)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Fri, 18 Apr 2025 15:03:46 +0000 (16:03 +0100)
commitbb49d940344bcb8e2b19e69d7ac86f567887ea9a
tree7553962134842371b6dae213652e03c7da79fe94
parent1d2d8524eaffc4d9a116213520d2c650e07c9cc6
iio: chemical: sps30: 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.

Fixes: a5bf6fdd19c3 ("iio:chemical:sps30: Fix timestamp alignment")
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-5-eafac1e22318@baylibre.com
Cc: <Stable@vger.kernel.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/chemical/sps30.c