diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2014-11-26 17:55:11 (GMT) |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2014-12-12 12:28:30 (GMT) |
commit | 4ae03019923f7dd5785b69a513b74ccc1c3f7766 (patch) | |
tree | b7e0e5bb1f7bf139e5499c71dd6e054c52ebf645 /drivers/iio | |
parent | 131e97d3faf2df29a6a488b94890481351f18aea (diff) | |
download | linux-4ae03019923f7dd5785b69a513b74ccc1c3f7766.tar.xz |
staging:iio:dummy: Register same channels for device and buffer
In preparation for moving the buffer registration to the core make sure to
register the same channel array for the device and the buffer. Currently the
output voltage and the activity channels are not registered for the buffer,
setting its scan index to -1 will make sure that it is skipped for the
buffer.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/iio')
0 files changed, 0 insertions, 0 deletions