Re: [PATCH 1/7] iio: pressure: dps310: sort register field defines low to high
From: Rupesh Majhi
Date: Wed Nov 25 2026 - 02:50:49 EST
On Tue, Nov 24, 2026 at 10:13:09AM +0200, Andy Shevchenko wrote:
> On Tue, Nov 24, 2026 at 12:06:43AM +0200, Rupesh Majhi wrote:
> > Some field defines run from the high bit down, others from the low bit
> > up. Sort them all low to high.
>
> Have you checked which change is less invasive? Can you do it locally and
> provide diffstat
High to low is less:
drivers/iio/pressure/dps310.c | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
Went low to high as David asked for that, but datasheet lists
the bits from 7 down, so I will sort high to low in v2.
thanks,
rupesh