diff options
author | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2022-05-08 20:57:05 +0300 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2022-06-14 13:53:19 +0300 |
commit | e76330db5e80725efd3e94b735ee1b43e307196f (patch) | |
tree | cbe6e9a93489440cdc77e429f447cb595a84763a /drivers | |
parent | 4842e5de6f39ebf2c0f6da9e6a0cb751c7108507 (diff) | |
download | linux-e76330db5e80725efd3e94b735ee1b43e307196f.tar.xz |
iio: pressure: dlhl60d: Drop unnecessary alignment forcing.
I2C doesn't use the buffers directly for DMA so there is no need
to enforce alignment.
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Cc: Tomislav Denis <tomislav.denis@avl.com>
Acked-by: Nuno Sá <nuno.sa@analog.com>
Link: https://lore.kernel.org/r/20220508175712.647246-86-jic23@kernel.org
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/iio/pressure/dlhl60d.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/iio/pressure/dlhl60d.c b/drivers/iio/pressure/dlhl60d.c index ade73267d5eb..5f6bb3603a8b 100644 --- a/drivers/iio/pressure/dlhl60d.c +++ b/drivers/iio/pressure/dlhl60d.c @@ -47,7 +47,7 @@ struct dlh_state { struct dlh_info info; bool use_interrupt; struct completion completion; - u8 rx_buf[DLH_NUM_READ_BYTES] ____cacheline_aligned; + u8 rx_buf[DLH_NUM_READ_BYTES]; }; static struct dlh_info dlh_info_tbl[] = { |