[PATCH v6 4/7] iio: Rename 'sign' field to `format` in struct iio_scan_type

David Lechner dlechner at baylibre.com
Wed Feb 25 13:27:01 PST 2026


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.



More information about the Linux-mediatek mailing list