summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Lechner <dlechner@baylibre.com>2025-04-18 23:08:53 +0300
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2025-05-21 16:20:28 +0300
commitb31a74075cb4ca2bb202a2e17d133ef3c9ee891f (patch)
tree94e6a86e2508af7f2d845248267b934a86363fbc
parent6b7c0e9ddaccaac85e88e374260006d97f4b13f9 (diff)
downloadlinux-b31a74075cb4ca2bb202a2e17d133ef3c9ee891f.tar.xz
iio: orientation: hid-sensor-rotation: remove unnecessary alignment
Remove __aligned(16) in the scan data struct in the hid-sensor-rotation driver. There is nothing in the code that requires this alignment. Signed-off-by: David Lechner <dlechner@baylibre.com> Reviewed-by: Andy Shevchenko <andy@kernel.org> Link: https://patch.msgid.link/20250418-iio-orientation-hid-sensor-rotation-remove-alignment-v1-1-6da68eae7ecf@baylibre.com Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
-rw-r--r--drivers/iio/orientation/hid-sensor-rotation.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/iio/orientation/hid-sensor-rotation.c b/drivers/iio/orientation/hid-sensor-rotation.c
index c4b18fd0fa76..e759f91a710a 100644
--- a/drivers/iio/orientation/hid-sensor-rotation.c
+++ b/drivers/iio/orientation/hid-sensor-rotation.c
@@ -19,7 +19,7 @@ struct dev_rot_state {
struct hid_sensor_common common_attributes;
struct hid_sensor_hub_attribute_info quaternion;
struct {
- s32 sampled_vals[4] __aligned(16);
+ s32 sampled_vals[4];
aligned_s64 timestamp;
} scan;
int scale_pre_decml;