]> www.infradead.org Git - users/jedix/linux-maple.git/commit
iio: accel: adxl345: reorganize measurement enable
authorLothar Rubusch <l.rubusch@gmail.com>
Thu, 20 Feb 2025 10:42:20 +0000 (10:42 +0000)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Tue, 4 Mar 2025 13:17:51 +0000 (13:17 +0000)
commit60a7903301f8b53a3012f31375841cbb3957fa00
tree57979afa9b648e5b1ce97e38665cdd570dddf909
parenta1854d55f54b4f8df738b3fbc6595b03e66da5c8
iio: accel: adxl345: reorganize measurement enable

Move the measurement enable function up in order to have it generically
available.

This is a preparation for upcomming patches. Particular features need
to have measuring off while changing settings, and turned on again
afterwards.

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