linux/drivers/iio/humidity
Jonathan Cameron f4ca2e2595 iio: humidity: am2315: 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 uses of
iio_push_to_buffers_with_timestamp()

Fixes: 0d96d5ead3 ("iio: humidity: Add triggered buffer support for AM2315")
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Link: https://lore.kernel.org/r/20210501170121.512209-12-jic23@kernel.org
2021-05-17 13:54:29 +01:00
..
am2315.c iio: humidity: am2315: Fix buffer alignment in iio_push_to_buffers_with_timestamp() 2021-05-17 13:54:29 +01:00
dht11.c iio: remove left-over parent assignments 2020-06-14 11:50:04 +01:00
hdc100x.c iio:humidity:hdc100x: Drop of_match_ptr protection. 2020-09-21 18:41:33 +01:00
hdc2010.c iio: humidity: hdc2010: Drop duplicate setting of iio_dev.dev.parent 2021-05-17 13:49:12 +01:00
hid-sensor-humidity.c 1st set of IIO/counter device support, features and cleanup in the 5.13 cycle 2021-03-26 12:09:47 +01:00
hts221_buffer.c iio: fix devm_iio_trigger_alloc with parent.cocci 2021-03-25 19:13:50 +00:00
hts221_core.c iio: humidity: hts221: add vdd voltage regulator 2020-12-03 19:32:39 +00:00
hts221_i2c.c iio: humidity: hts221: Drop unneeded casting when print error code 2020-03-21 10:27:15 +00:00
hts221_spi.c iio: humidity: hts221: Drop unneeded casting when print error code 2020-03-21 10:27:15 +00:00
hts221.h iio: humidity: hts221: add vdd voltage regulator 2020-12-03 19:32:39 +00:00
htu21.c iio:humidity:htu21: Drop of_match_ptr protection 2020-09-21 18:41:34 +01:00
Kconfig iio: hid-sensors: select IIO_TRIGGERED_BUFFER under HID_SENSOR_IIO_TRIGGER 2021-05-10 14:01:48 +01:00
Makefile iio: humidity: Add TI HDC20x0 support 2020-09-03 19:40:44 +01:00
si7005.c iio: remove explicit IIO device parent assignment 2020-06-14 11:49:59 +01:00
si7020.c iio:humidity:si7020: Drop of_match_ptr protection 2020-09-21 18:41:34 +01:00