aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/iio
diff options
context:
space:
mode:
authorJonathan Cameron <jic23@kernel.org>2013-02-27 14:28:12 -0500
committerJonathan Cameron <jic23@kernel.org>2013-03-17 15:49:33 -0400
commit7611294799af395c40ffc6fe2f2b003b2b95b3ec (patch)
treefbfc0614b8c872a85762e8e26fc85202a6cb18c8 /drivers/iio
parentf4d9df19938a570630d6c0534dd63c62118c3bdd (diff)
iio:dac:ad5791 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')
-rw-r--r--drivers/iio/dac/ad5791.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/iio/dac/ad5791.c b/drivers/iio/dac/ad5791.c
index 8dfd3da8a07b..97c1e5d780df 100644
--- a/drivers/iio/dac/ad5791.c
+++ b/drivers/iio/dac/ad5791.c
@@ -302,9 +302,9 @@ static const struct iio_chan_spec_ext_info ad5791_ext_info[] = {
302 .indexed = 1, \ 302 .indexed = 1, \
303 .address = AD5791_ADDR_DAC0, \ 303 .address = AD5791_ADDR_DAC0, \
304 .channel = 0, \ 304 .channel = 0, \
305 .info_mask = IIO_CHAN_INFO_RAW_SEPARATE_BIT | \ 305 .info_mask_separate = BIT(IIO_CHAN_INFO_RAW), \
306 IIO_CHAN_INFO_SCALE_SHARED_BIT | \ 306 .info_mask_shared_by_type = BIT(IIO_CHAN_INFO_SCALE) | \
307 IIO_CHAN_INFO_OFFSET_SHARED_BIT, \ 307 BIT(IIO_CHAN_INFO_OFFSET), \
308 .scan_type = IIO_ST('u', bits, 24, shift), \ 308 .scan_type = IIO_ST('u', bits, 24, shift), \
309 .ext_info = ad5791_ext_info, \ 309 .ext_info = ad5791_ext_info, \
310} 310}