mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-08-31 02:21:39 -04: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:
committed by
Jonathan Cameron
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;
|
||||
|
||||
Reference in New Issue
Block a user