iio: hdc100x: correct IIO_CHAN_INFO_OFFSET value
authorMatt Ranostay <mranostay@gmail.com>
Sun, 27 Sep 2015 06:18:57 +0000 (23:18 -0700)
committerJonathan Cameron <jic23@kernel.org>
Sun, 11 Oct 2015 12:53:20 +0000 (13:53 +0100)
commitd3a21ce0c60365991e59bbe848457c08f0c3c7ca
tree86cfdefa79aa10a55f541a1898d61507ce7a23f2
parent18a16b5e26c74dda2881c8f2977d702fd0e13fda
iio: hdc100x: correct IIO_CHAN_INFO_OFFSET value

Previous offset wasn't applied in the correct order and invalid.
This patchset fixes this issue, and also has the correct scale value
applied to the offset.

Signed-off-by: Matt Ranostay <mranostay@gmail.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/humidity/hdc100x.c