iio: adc: hx711: use struct with aligned_s64 timestamp
authorDavid Lechner <dlechner@baylibre.com>
Fri, 18 Apr 2025 19:58:22 +0000 (14:58 -0500)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Wed, 21 May 2025 13:20:27 +0000 (14:20 +0100)
commit6b7c0e9ddaccaac85e88e374260006d97f4b13f9
tree9a0e6e5e5e503717401c15c9a4d72fb58e103fc6
parent0c2cdd1af6cc12d68932a837472e94fc1f2776d5
iio: adc: hx711: use struct with aligned_s64 timestamp

Use a struct with aligned s64_timestamp instead of a padded array for
the buffer used for iio_push_to_buffers_with_ts(). This makes it easier
to see the correctness of the size and alignment of the buffer.

Signed-off-by: David Lechner <dlechner@baylibre.com>
Link: https://patch.msgid.link/20250418-iio-prefer-aligned_s64-timestamp-v1-3-4c6080710516@baylibre.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/adc/hx711.c