mirror of
https://github.com/torvalds/linux.git
synced 2026-05-21 13:27:57 +02: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:
parent
4842e5de6f
commit
e76330db5e
|
|
@ -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[] = {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user