From: Lars-Peter Clausen Date: Wed, 26 Nov 2014 17:55:10 +0000 (+0100) Subject: staging:iio:sca3000: Register same channels for device and buffer X-Git-Tag: fixes-v4.0-rc1~99^2~245^2~58 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=131e97d3faf2df29a6a488b94890481351f18aea;p=pandora-kernel.git 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 Signed-off-by: Jonathan Cameron --- Reading git-diff-tree failed