Re: [PATCH v6 4/7] iio: Rename 'sign' field to `format` in struct iio_scan_type
From: David Lechner
Date: Wed Feb 25 2026 - 16:27:23 EST
On 2/25/26 4:17 AM, Francesco Lavra wrote:
> This field is used to differentiate between signed and unsigned integers.
> A following commit will extend its use to in order to add support for non-
> integer scan elements; therefore, change its name from 'sign' to a more
> generic 'format'.
>
Maybe Jonathan is OK with doing this all at once, but another alternative
could be to introduce a union to allow both names at the same time, then
we could make the change more gradually.