Skip to content

iio: pressure: dps310: cleanups

Rupesh Majhi linux-iio lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 7 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7iio: pressure: dps310: sort register field defines low to highdrivers/iio/pressure/dps310.c+11 -111 reply
2/7iio: pressure: dps310: read the coefficients with get_unaligned_be*()drivers/iio/pressure/dps310.c+9 -271 reply
3/7iio: pressure: dps310: use min() instead of min_t()drivers/iio/pressure/dps310.c+1 -10 replies
4/7iio: pressure: dps310: use KILO for the Pa to kPa conversiondrivers/iio/pressure/dps310.c+3 -21 reply
5/7iio: pressure: dps310: use time unit macros for sleeps and timeoutsdrivers/iio/pressure/dps310.c+5 -31 reply
6/7iio: pressure: dps310: drop the unused i2c_set_clientdata()drivers/iio/pressure/dps310.c+1 -71 reply
7/7iio: pressure: dps310: include what the driver usesdrivers/iio/pressure/dps310.c+13 -12 replies

Reviews trailers per patch

3 of 7 patches have a Reviewed-by or Acked-by.

PatchAndy Shevchenko
1/7
2/7R-b
3/7
4/7R-b
5/7
6/7R-b
7/7

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/7] iio: pressure: dps310: cleanups

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/[email protected]/

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

Signature · 1 line
2.43.0