Commit 040b837e authored by Jonathan Cameron's avatar Jonathan Cameron

iio:dac:max517 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: default avatarJonathan Cameron <jic23@kernel.org>
cc: Roland Stigge <stigge@antcom.de>
parent 76112947
...@@ -146,8 +146,8 @@ static const struct iio_info max517_info = { ...@@ -146,8 +146,8 @@ static const struct iio_info max517_info = {
.indexed = 1, \ .indexed = 1, \
.output = 1, \ .output = 1, \
.channel = (chan), \ .channel = (chan), \
.info_mask = IIO_CHAN_INFO_RAW_SEPARATE_BIT | \ .info_mask_separate = BIT(IIO_CHAN_INFO_RAW) | \
IIO_CHAN_INFO_SCALE_SEPARATE_BIT, \ BIT(IIO_CHAN_INFO_SCALE), \
.scan_type = IIO_ST('u', 8, 8, 0), \ .scan_type = IIO_ST('u', 8, 8, 0), \
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment