mirror of
https://github.com/torvalds/linux.git
synced 2026-07-28 10:09:10 +02:00
iio: ssp_sensors: cleanup codestyle warning
Reported by checkpatch: FILE: drivers/iio/common/ssp_sensors/ssp_spi.c WARNING: Prefer __packed over __attribute__((__packed__)) +} __attribute__((__packed__)); Signed-off-by: Sanjay Chitroda <sanjayembeddedse@gmail.com> Reviewed-by: Andy Shevchenko <andriy.shevchenko@intel.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
This commit is contained in:
parent
13af23fb52
commit
dcc80f2fdf
|
|
@ -29,7 +29,7 @@ struct ssp_msg_header {
|
|||
__le16 length;
|
||||
__le16 options;
|
||||
__le32 data;
|
||||
} __attribute__((__packed__));
|
||||
} __packed;
|
||||
|
||||
struct ssp_msg {
|
||||
u16 length;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user