mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-09 22:50:41 +00: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…
x
Reference in New Issue
Block a user