mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-05 10:31:46 +09:00
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
This commit is contained in:
@@ -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[] = {
|
||||
|
||||
Reference in New Issue
Block a user