diff options
| author | Lars-Peter Clausen <lars@metafoo.de> | 2012-09-17 13:17:00 +0100 |
|---|---|---|
| committer | Jonathan Cameron <jic23@kernel.org> | 2012-09-17 21:49:49 +0100 |
| commit | a0e545e0e75006a7de0e9bc5397f6b44c61990b2 (patch) | |
| tree | 4330b278e0bd448a565bd6f3246e3505eb327b2d /include/linux | |
| parent | 48e44ce0f8810b530fc83a4f5eb67149280d9b82 (diff) | |
staging:iio:hwmon bridge: Use iio_read_channel_processed
Use the iio_read_channel_processed function to read the sample value in the
proper unit instead of using iio_read_channel_raw and iio_read_channel_scale and
doing the unit conversion manually.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
