[PATCH 0/7] iio: pressure: dps310: cleanups
From: Rupesh Majhi
Date: Mon Nov 23 2026 - 17:07:02 EST
The cleanups promised in the FIFO series cover letter [1], plus the
rest of Andy's list from his review of the ACPI fix.
Patches 1, 3, 4 and 7 build to the same object code. Patch 2 gives the
same coefficients as the old parsing, checked on random input. Patch 5
shortens the longest wait after a reset. Tested on a DPS310 on a
BeagleBone Black.
Based on iio testing.
[1] https://lore.kernel.org/linux-iio/20260921183132.233136-1-zoone.rupert@xxxxxxxxx/
Rupesh Majhi (7):
iio: pressure: dps310: sort register field defines low to high
iio: pressure: dps310: read the coefficients with get_unaligned_be*()
iio: pressure: dps310: use min() instead of min_t()
iio: pressure: dps310: use KILO for the Pa to kPa conversion
iio: pressure: dps310: use time unit macros for sleeps and timeouts
iio: pressure: dps310: drop the unused i2c_set_clientdata()
iio: pressure: dps310: include what the driver uses
drivers/iio/pressure/dps310.c | 95 ++++++++++++++++-------------------
1 file changed, 43 insertions(+), 52 deletions(-)
base-commit: f2cbef9101b9fc979a324bb1242b8b802a2484b6
--
2.43.0