diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2012-08-10 17:36:00 +0100 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2012-08-16 20:24:37 +0100 |
commit | 70e01880a9b2c548d3911d0eed467d664aad5986 (patch) | |
tree | 0257d956bfdb4ad5afada7a16bde50a46802b6af /drivers/iio/light | |
parent | 4fcbcf95b775acc430742a09fb3334dce08b6c10 (diff) | |
download | linux-70e01880a9b2c548d3911d0eed467d664aad5986.tar.gz linux-70e01880a9b2c548d3911d0eed467d664aad5986.tar.bz2 linux-70e01880a9b2c548d3911d0eed467d664aad5986.zip |
staging:iio:ad7780: Mark channels as unsigned
The values reported by the AD7780 are unsigned with a binary offset:
0x000000 is negative fullscale
0x800000 is zeroscale
0xffffff is positive fullscale
So mark the channel in the channel spec as unsigned rather than signed.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/iio/light')
0 files changed, 0 insertions, 0 deletions