iio: pressure: dlhl60d: Drop unnecessary alignment forcing.
authorJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 8 May 2022 17:57:05 +0000 (18:57 +0100)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Tue, 14 Jun 2022 10:53:19 +0000 (11:53 +0100)
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
drivers/iio/pressure/dlhl60d.c

index ade7326..5f6bb36 100644 (file)
@@ -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[] = {