diff options
| author | Lars-Peter Clausen <lars@metafoo.de> | 2016-10-19 20:07:02 +0300 |
|---|---|---|
| committer | Jonathan Cameron <jic23@kernel.org> | 2016-10-23 21:34:15 +0300 |
| commit | 91b7334bae734586b153a79fd82873c5d00eb950 (patch) | |
| tree | fdf141bafecfaad19aa2597fd168b862f98c8d39 /scripts | |
| parent | f915f7aafba79784b8d89cf186fd63d3b16b91b9 (diff) | |
| download | linux-91b7334bae734586b153a79fd82873c5d00eb950.tar.xz | |
staging:iio:ad7606: Factor out common code between periodic and one-shot capture
Both the periodic buffer based and one-shot sysfs based capture methods
share a large portion of their code. Factor this out into a common helper
function.
Also provide a comment that better explains in more detail what is going on
in the capture function.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
