diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2012-11-05 09:56:00 +0000 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2012-11-05 20:39:53 +0000 |
commit | 98efb70adde96d86df29b4754f265b2c8bba01b2 (patch) | |
tree | bfe33509527d200779a0effedd6d36c3a43059e2 /drivers/staging/iio/adc/ad7298_ring.c | |
parent | fce7c3eac7d4ca77ada5bf8332f867219fbb5068 (diff) | |
download | op-kernel-dev-98efb70adde96d86df29b4754f265b2c8bba01b2.zip op-kernel-dev-98efb70adde96d86df29b4754f265b2c8bba01b2.tar.gz |
staging:iio:ad7887: Use passed in chan spec in ad7887_read_raw
Use the passed in chan spec in ad7887_read_raw instead of alawys using the first
chan spec entry from the chip info data. Since all channels have the same shift
and realbits from a functional point of view it does not matter which chan spec
is used, but the patch makes the a bit more clear.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/staging/iio/adc/ad7298_ring.c')
0 files changed, 0 insertions, 0 deletions