iio: chemical: ams-iaq-core: clean up codestyle warning

This fixes a checkpatch warning by changing the struct attribute from __attribute__((__packed__)) to __packed.

Signed-off-by: Bruna Bispo <blbispo1@gmail.com>
Link: https://lore.kernel.org/r/20240528143816.13409-1-blbispo1@gmail.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
This commit is contained in:
Bruna Bispo 2024-05-28 11:38:16 -03:00 committed by Jonathan Cameron
parent ef60f9ca26
commit 9f53b59f48

View file

@ -24,7 +24,7 @@ struct ams_iaqcore_reading {
u8 status;
__be32 resistance;
__be16 voc_ppb;
} __attribute__((__packed__));
} __packed;
struct ams_iaqcore_data {
struct i2c_client *client;