summaryrefslogtreecommitdiff
path: root/include/linux/cdev.h
diff options
context:
space:
mode:
authorLars-Peter Clausen <lars@metafoo.de>2012-11-15 13:15:00 +0000
committerJonathan Cameron <jic23@kernel.org>2012-11-19 22:22:14 +0000
commit01a10e04f8e099fea3212a70df0b25a8ffd9275f (patch)
tree2413f5793f97443af0511c32f64254e0da84ac72 /include/linux/cdev.h
parent2e334600989384a11ed7ae0dc0e0ca0486ebfaaa (diff)
staging:iio:ad7298: Fix temperature scale and offset
The temperature scale and offset depend on the reference voltage, the current formula used in the driver assumes a 2.5V reference. This patch modifies the code to report the unprocessed value for the temperature channel "raw" property and to provide proper "scale" and "offset" properties which depend on the selected reference voltage. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'include/linux/cdev.h')
0 files changed, 0 insertions, 0 deletions