summaryrefslogtreecommitdiff
path: root/include/uapi
diff options
context:
space:
mode:
authorFrancesco Lavra <flavra@baylibre.com>2026-03-24 09:47:40 +0100
committerJonathan Cameron <jic23@kernel.org>2026-04-27 09:58:16 +0100
commitfda05af070e7bc0403a487fc87378d2e1323f529 (patch)
tree7fac94fe6d7c328b080d56623960edd6fc537be9 /include/uapi
parent7216b9f7e9fe34a1623cceee920caede8929078e (diff)
iio: Replace 'sign' field with union in struct iio_scan_type
This field is used to differentiate between signed and unsigned integers. A following commit will extend its use in order to add support for non- integer scan elements; therefore, replace it with a union that contains a more generic 'format' field. This union will be dropped when all drivers are changed to use the format field. Opportunistically replace character literals with symbolic constants that represent the set of allowed values for the format field. Signed-off-by: Francesco Lavra <flavra@baylibre.com> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'include/uapi')
0 files changed, 0 insertions, 0 deletions