diff options
| author | Nuno Sá <nuno.sa@analog.com> | 2022-10-04 16:49:02 +0300 |
|---|---|---|
| committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2022-11-23 22:43:58 +0300 |
| commit | f2bdea865e776b571557035eac2e8afde8ea7844 (patch) | |
| tree | 3c0c43ad67200aa71d6667df18ec7410bbafa239 /include | |
| parent | 8433aa3591afff6f4dc641a2e274e6171f66a4b7 (diff) | |
| download | linux-f2bdea865e776b571557035eac2e8afde8ea7844.tar.xz | |
iio: adc: vf610_adc: add helper function to read samples
This is a precursor change to make it simpler to remove the 'mlock'
usage. Having the code in it's own helper function, also makes it easier
to read the error paths.
Signed-off-by: Nuno Sá <nuno.sa@analog.com>
Reviewed-by: Haibo Chen <haibo.chen@nxp.com>
Link: https://lore.kernel.org/r/20221004134909.1692021-10-nuno.sa@analog.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
