aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/iio/adc
diff options
context:
space:
mode:
authorJonathan Cameron <jic23@kernel.org>2013-02-27 14:05:59 -0500
committerJonathan Cameron <jic23@kernel.org>2013-03-17 15:49:29 -0400
commit16d186b1f9aebfc4baec419b89e61cf8e6ff5d40 (patch)
treefb6c32d81bbbe5a2cd52bece480273f0954a3118 /drivers/iio/adc
parent8c1033f733d85a3d5da82dea34ef6d989dd297f5 (diff)
iio:adc:ad7887 move to info_mask_(shared_by_type/separate)
The original info_mask is going away in favour of the broken out versions. Signed-off-by: Jonathan Cameron <jic23@kernel.org> Acked-by: Lars-Peter Clausen <lars@metafoo.de>
Diffstat (limited to 'drivers/iio/adc')
-rw-r--r--drivers/iio/adc/ad7887.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/iio/adc/ad7887.c b/drivers/iio/adc/ad7887.c
index a33d5cd1a536..dd15a5b0f701 100644
--- a/drivers/iio/adc/ad7887.c
+++ b/drivers/iio/adc/ad7887.c
@@ -207,8 +207,8 @@ static const struct ad7887_chip_info ad7887_chip_info_tbl[] = {
207 .type = IIO_VOLTAGE, 207 .type = IIO_VOLTAGE,
208 .indexed = 1, 208 .indexed = 1,
209 .channel = 1, 209 .channel = 1,
210 .info_mask = IIO_CHAN_INFO_RAW_SEPARATE_BIT | 210 .info_mask_separate = BIT(IIO_CHAN_INFO_RAW),
211 IIO_CHAN_INFO_SCALE_SHARED_BIT, 211 .info_mask_shared_by_type = BIT(IIO_CHAN_INFO_SCALE),
212 .address = 1, 212 .address = 1,
213 .scan_index = 1, 213 .scan_index = 1,
214 .scan_type = IIO_ST('u', 12, 16, 0), 214 .scan_type = IIO_ST('u', 12, 16, 0),
@@ -217,8 +217,8 @@ static const struct ad7887_chip_info ad7887_chip_info_tbl[] = {
217 .type = IIO_VOLTAGE, 217 .type = IIO_VOLTAGE,
218 .indexed = 1, 218 .indexed = 1,
219 .channel = 0, 219 .channel = 0,
220 .info_mask = IIO_CHAN_INFO_RAW_SEPARATE_BIT | 220 .info_mask_separate = BIT(IIO_CHAN_INFO_RAW),
221 IIO_CHAN_INFO_SCALE_SHARED_BIT, 221 .info_mask_shared_by_type = BIT(IIO_CHAN_INFO_SCALE),
222 .address = 0, 222 .address = 0,
223 .scan_index = 0, 223 .scan_index = 0,
224 .scan_type = IIO_ST('u', 12, 16, 0), 224 .scan_type = IIO_ST('u', 12, 16, 0),