diff options
author | Jonathan Cameron <jic23@kernel.org> | 2013-03-03 07:26:47 -0500 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2013-03-17 15:49:43 -0400 |
commit | 7657719f9396f54c689f04f1401a174e01ba855e (patch) | |
tree | 8871d5da1393c2b45e70428c6c15d89a9261313a | |
parent | 0d23d328c01db48d87ce3a3c9cc13a47c37dab0c (diff) |
iio:adc:ad7923 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>
cc: Patrick Vasseur <patrick.vasseur@c-s.fr>
cc: Christophe Leroy <christophe.leroy@c-s.fr>
-rw-r--r-- | drivers/iio/adc/ad7923.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/iio/adc/ad7923.c b/drivers/iio/adc/ad7923.c index 28b2bda8f0ec..766c74026be2 100644 --- a/drivers/iio/adc/ad7923.c +++ b/drivers/iio/adc/ad7923.c | |||
@@ -69,8 +69,8 @@ struct ad7923_state { | |||
69 | .type = IIO_VOLTAGE, \ | 69 | .type = IIO_VOLTAGE, \ |
70 | .indexed = 1, \ | 70 | .indexed = 1, \ |
71 | .channel = index, \ | 71 | .channel = index, \ |
72 | .info_mask = IIO_CHAN_INFO_RAW_SEPARATE_BIT | \ | 72 | .info_mask_separate = BIT(IIO_CHAN_INFO_RAW), \ |
73 | IIO_CHAN_INFO_SCALE_SHARED_BIT, \ | 73 | .info_mask_shared_by_type = BIT(IIO_CHAN_INFO_SCALE), \ |
74 | .address = index, \ | 74 | .address = index, \ |
75 | .scan_index = index, \ | 75 | .scan_index = index, \ |
76 | .scan_type = { \ | 76 | .scan_type = { \ |