iio: accel: adxl345: simplify reading the FIFO
authorLothar Rubusch <l.rubusch@gmail.com>
Wed, 2 Jul 2025 23:03:09 +0000 (23:03 +0000)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Mon, 14 Jul 2025 18:20:50 +0000 (19:20 +0100)
commitf057897dcbffd60f439fd240150ac94cc36c13a4
tree1da06e03a0ed29c8274d02016e6eb8ea2390b434
parent7a7242d86231f489476653b3d7baf020cab3d786
iio: accel: adxl345: simplify reading the FIFO

Bulk FIFO reading can be streamlined by eliminating redundant variables and
simplifying the process of reading x-, y-, and z-axis measurement sets.

This is a refactoring change with no expected impact on functionality.

Signed-off-by: Lothar Rubusch <l.rubusch@gmail.com>
Link: https://patch.msgid.link/20250702230315.19297-3-l.rubusch@gmail.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/accel/adxl345_core.c