diff options
author | Jonathan Cameron <jic23@kernel.org> | 2013-02-27 14:11:04 -0500 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2013-03-17 15:49:32 -0400 |
commit | f3ec5a2dd40c7e3697f3e3d64720e00d8f5cd7bf (patch) | |
tree | 5bbf3b0c79856b1c1200188e229f0c462c6c1579 /drivers/iio/dac/ad5504.c | |
parent | f8c627138ba621ae5bdf4ec9c21a63deff3581cc (diff) |
iio:dac:ad5504 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/dac/ad5504.c')
-rw-r--r-- | drivers/iio/dac/ad5504.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/iio/dac/ad5504.c b/drivers/iio/dac/ad5504.c index e5e59749f109..139206e84cb7 100644 --- a/drivers/iio/dac/ad5504.c +++ b/drivers/iio/dac/ad5504.c | |||
@@ -259,8 +259,8 @@ static const struct iio_chan_spec_ext_info ad5504_ext_info[] = { | |||
259 | .indexed = 1, \ | 259 | .indexed = 1, \ |
260 | .output = 1, \ | 260 | .output = 1, \ |
261 | .channel = (_chan), \ | 261 | .channel = (_chan), \ |
262 | .info_mask = IIO_CHAN_INFO_RAW_SEPARATE_BIT | \ | 262 | .info_mask_separate = BIT(IIO_CHAN_INFO_RAW), \ |
263 | IIO_CHAN_INFO_SCALE_SHARED_BIT, \ | 263 | .info_mask_shared_by_type = BIT(IIO_CHAN_INFO_SCALE), \ |
264 | .address = AD5504_ADDR_DAC(_chan), \ | 264 | .address = AD5504_ADDR_DAC(_chan), \ |
265 | .scan_type = IIO_ST('u', 12, 16, 0), \ | 265 | .scan_type = IIO_ST('u', 12, 16, 0), \ |
266 | .ext_info = ad5504_ext_info, \ | 266 | .ext_info = ad5504_ext_info, \ |