mirror of
https://github.com/torvalds/linux.git
synced 2026-03-08 03:24:45 +01:00
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:
parent
ef60f9ca26
commit
9f53b59f48
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue