]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
iio: hid-sensor: Use aligned data type for timestamp
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 3 Sep 2024 17:59:06 +0000 (20:59 +0300)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Mon, 30 Sep 2024 08:20:59 +0000 (09:20 +0100)
commit374c6deea7ffd05655ee9e48a5dfd284acb225b0
treecfc9aa10940047fc498182d37016fad723618f2e
parent11b147cdec653126b078ff0e8f3f453a8afbd88a
iio: hid-sensor: Use aligned data type for timestamp

Use aligned_s64 for the timestamp field.

Note, the actual data is signed, hence with this we also amend that.
While at it, drop redundant __alignment directive.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://patch.msgid.link/20240903180218.3640501-4-andriy.shevchenko@linux.intel.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/accel/hid-sensor-accel-3d.c
drivers/iio/gyro/hid-sensor-gyro-3d.c
drivers/iio/humidity/hid-sensor-humidity.c
drivers/iio/light/hid-sensor-als.c
drivers/iio/orientation/hid-sensor-incl-3d.c
drivers/iio/orientation/hid-sensor-rotation.c
drivers/iio/position/hid-sensor-custom-intel-hinge.c
drivers/iio/pressure/hid-sensor-press.c
drivers/iio/temperature/hid-sensor-temperature.c