summaryrefslogtreecommitdiff
path: root/drivers/iio/chemical/sps30_serial.c
diff options
context:
space:
mode:
authorJonathan Cameron <Jonathan.Cameron@huawei.com>2021-05-01 18:01:03 +0100
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2021-05-17 13:54:28 +0100
commitfc36da3131a747a9367a05caf06de19be1bcc972 (patch)
tree9311d50ebd35f3ff5683cb497311cd28e059faba /drivers/iio/chemical/sps30_serial.c
parent5937b860e9252637681c49ac097b712839213cce (diff)
iio: accel: bma180: Fix buffer alignment in iio_push_to_buffers_with_timestamp()
To make code more readable, use a structure to express the channel layout and ensure the timestamp is 8 byte aligned. Found during an audit of all calls of this function. Fixes: b9a6a237ffc9 ("iio:bma180: Drop _update_scan_mode()") Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> Cc: Peter Meerwald <pmeerw@pmeerw.net> Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com> Link: https://lore.kernel.org/r/20210501170121.512209-2-jic23@kernel.org
Diffstat (limited to 'drivers/iio/chemical/sps30_serial.c')
0 files changed, 0 insertions, 0 deletions