OSDN Git Service

iio: imu: st_lsm6dsx: move max_fifo_size in st_lsm6dsx_fifo_ops
authorLorenzo Bianconi <lorenzo@kernel.org>
Sun, 26 Sep 2021 14:02:30 +0000 (16:02 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Tue, 19 Oct 2021 07:27:34 +0000 (08:27 +0100)
commit1b7da2fa18f723a821c49aa67d4ba9603a386c0a
treecad8f7d2c9a8cdd3a359694e12899d192ce97392
parent089ec5e934133ca33b332d631325cdb4669a4780
iio: imu: st_lsm6dsx: move max_fifo_size in st_lsm6dsx_fifo_ops

Move max_fifo_size in st_lsm6dsx_fifo_ops in order to have all
FIFO configuration parameters in st_lsm6dsx_fifo_ops structure.
This patch does not introduce any logic change, just small code
rearrangement.

Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Link: https://lore.kernel.org/r/3262ad9d9d1497e19ea1bab208c495c2b9a98994.1632664866.git.lorenzo@kernel.org
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/imu/st_lsm6dsx/st_lsm6dsx.h
drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_core.c