Skip to content

Commit 74c3923

Browse files
sanjay-embeddedjic23
authored andcommitted
iio: ssp_sensors: cleanup codestyle warning
Reported by checkpatch: FILE: drivers/iio/common/ssp_sensors/ssp_dev.c WARNING: Prefer __packed over __attribute__((__packed__)) +} __attribute__((__packed__)); Signed-off-by: Sanjay Chitroda <sanjayembeddedse@gmail.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
1 parent 370461a commit 74c3923

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/iio/common/ssp_sensors/ssp_dev.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ struct ssp_instruction {
2828
__le32 a;
2929
__le32 b;
3030
u8 c;
31-
} __attribute__((__packed__));
31+
} __packed__;
3232

3333
static const u8 ssp_magnitude_table[] = {110, 85, 171, 71, 203, 195, 0, 67,
3434
208, 56, 175, 244, 206, 213, 0, 92, 250, 0, 55, 48, 189, 252, 171,

0 commit comments

Comments
 (0)