Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

authored by

Bruna Bispo and committed by
Jonathan Cameron
9f53b59f ef60f9ca

+1 -1
+1 -1
drivers/iio/chemical/ams-iaq-core.c
··· 24 24 u8 status; 25 25 __be32 resistance; 26 26 __be16 voc_ppb; 27 - } __attribute__((__packed__)); 27 + } __packed; 28 28 29 29 struct ams_iaqcore_data { 30 30 struct i2c_client *client;