projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ef60f9c
)
iio: chemical: ams-iaq-core: clean up codestyle warning
author
Bruna Bispo
<blbispo1@gmail.com>
Tue, 28 May 2024 14:38:16 +0000
(11:38 -0300)
committer
Jonathan Cameron
<Jonathan.Cameron@huawei.com>
Sat, 8 Jun 2024 13:44:28 +0000
(14:44 +0100)
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>
drivers/iio/chemical/ams-iaq-core.c
patch
|
blob
|
history
diff --git
a/drivers/iio/chemical/ams-iaq-core.c
b/drivers/iio/chemical/ams-iaq-core.c
index
4d605c2
..
10156d7
100644
(file)
--- a/
drivers/iio/chemical/ams-iaq-core.c
+++ b/
drivers/iio/chemical/ams-iaq-core.c
@@
-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;