diff options
author | Olivier Moysan <[email protected]> | 2024-07-30 10:46:31 +0200 |
---|---|---|
committer | Jonathan Cameron <[email protected]> | 2024-08-10 11:17:34 +0100 |
commit | 0737158aabc278526c784f63b8dd8963cdc558a9 (patch) | |
tree | abee89fc7a94ac0e5f63aa9c65d99ac9e8c71e3d /lib/test_fortify/write_overflow-strncpy-src.c | |
parent | c7668ac67bc21aebdd8e2d7f839bfffba31b7713 (diff) |
iio: add read scale and offset services to iio backend framework
Add iio_backend_read_scale() and iio_backend_read_offset() services
to read channel scale and offset from an IIO backbend device.
Also add a read_raw callback which replicates the read_raw callback of
the IIO framework, and is intended to request miscellaneous channel
attributes from the backend device.
Both scale and offset helpers use this callback.
Signed-off-by: Olivier Moysan <[email protected]>
Reviewed-by: Nuno Sa <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions