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>
This commit is contained in:
parent
6b7c0e9dda
commit
b31a74075c
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue