]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
iio: ssp_sensors: cleanup codestyle warning
authorSanjay Chitroda <sanjayembeddedse@gmail.com>
Sun, 26 Apr 2026 09:17:02 +0000 (14:47 +0530)
committerJonathan Cameron <jic23@kernel.org>
Sun, 31 May 2026 09:59:32 +0000 (10:59 +0100)
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>
drivers/iio/common/ssp_sensors/ssp_dev.c

index da09c9f3ceb6c8eae8e435447e6eb5d8ce4fa69f..7d07fae295fda0f3d61d6986f52ec781d1327941 100644 (file)
@@ -28,7 +28,7 @@ struct ssp_instruction {
        __le32 a;
        __le32 b;
        u8 c;
-} __attribute__((__packed__));
+} __packed__;
 
 static const u8 ssp_magnitude_table[] = {110, 85, 171, 71, 203, 195, 0, 67,
        208, 56, 175, 244, 206, 213, 0, 92, 250, 0, 55, 48, 189, 252, 171,