From: Lars-Peter Clausen Date: Mon, 15 Oct 2012 09:35:00 +0000 (+0100) Subject: staging:iio:adis16400: Fixup adis16336 temp channel attributes X-Git-Tag: v3.7-rc3~13^2~20^2~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2e132e4692d627fd8aa0a1833e647d517531cb99;p=platform%2Fkernel%2Flinux-exynos.git staging:iio:adis16400: Fixup adis16336 temp channel attributes The temperature channel has a calibbias attribute which it should not have, but the offset attribute is missing. Signed-off-by: Lars-Peter Clausen Signed-off-by: Jonathan Cameron --- diff --git a/drivers/staging/iio/imu/adis16400_core.c b/drivers/staging/iio/imu/adis16400_core.c index eaed87f..3144a7b 100644 --- a/drivers/staging/iio/imu/adis16400_core.c +++ b/drivers/staging/iio/imu/adis16400_core.c @@ -1037,7 +1037,7 @@ static const struct iio_chan_spec adis16334_channels[] = { .indexed = 1, .channel = 0, .info_mask = IIO_CHAN_INFO_RAW_SEPARATE_BIT | - IIO_CHAN_INFO_CALIBBIAS_SEPARATE_BIT | + IIO_CHAN_INFO_OFFSET_SEPARATE_BIT | IIO_CHAN_INFO_SCALE_SHARED_BIT, .address = temp0, .scan_index = ADIS16400_SCAN_TEMP,