commit | 131e97d3faf2df29a6a488b94890481351f18aea | [log] [tgz] |
---|---|---|
author | Lars-Peter Clausen <lars@metafoo.de> | Wed Nov 26 18:55:10 2014 +0100 |
committer | Jonathan Cameron <jic23@kernel.org> | Fri Dec 12 12:28:30 2014 +0000 |
tree | ef714567c14b5b864f3a56fd5b71b67548ee19d9 | |
parent | 217a5cf0a1100264ced523e437e2e22c442dca7c [diff] |
staging:iio:sca3000: 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 temperature channel is 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>