Commit e76330db authored by Jonathan Cameron's avatar Jonathan Cameron

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: default avatarJonathan Cameron <Jonathan.Cameron@huawei.com>
Cc: Tomislav Denis <tomislav.denis@avl.com>
Acked-by: default avatarNuno Sá <nuno.sa@analog.com>
Link: https://lore.kernel.org/r/20220508175712.647246-86-jic23@kernel.org
parent 4842e5de
...@@ -47,7 +47,7 @@ struct dlh_state { ...@@ -47,7 +47,7 @@ struct dlh_state {
struct dlh_info info; struct dlh_info info;
bool use_interrupt; bool use_interrupt;
struct completion completion; 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[] = { static struct dlh_info dlh_info_tbl[] = {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment