iio: hid-sensor-humidity: Fix alignment issue of timestamp channel
authorYe Xiang <xiang.ye@intel.com>
Wed, 3 Mar 2021 06:36:12 +0000 (14:36 +0800)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sat, 6 Mar 2021 17:03:04 +0000 (17:03 +0000)
commit37e89e574dc238a4ebe439543c5ab4fbb2f0311b
tree4d5f2a06972d7168d91b561aeb6899e67270b7e7
parentb14d72ac731753708a7c1a6b3657b9312b6f0042
iio: hid-sensor-humidity: Fix alignment issue of timestamp channel

This patch ensures that, there is sufficient space and correct
alignment for the timestamp.

Fixes: d7ed89d5aadf ("iio: hid: Add humidity sensor support")
Signed-off-by: Ye Xiang <xiang.ye@intel.com>
Cc: <Stable@vger.kernel.org>
Link: https://lore.kernel.org/r/20210303063615.12130-2-xiang.ye@intel.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/humidity/hid-sensor-humidity.c