Commit 91239722 authored by Jonathan Cameron's avatar Jonathan Cameron

iio:adc:viperboard_adc 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: Lars Poeschel <poeschel@lemonage.de>
parent 6c572522
...@@ -41,7 +41,7 @@ struct vprbrd_adc { ...@@ -41,7 +41,7 @@ struct vprbrd_adc {
.type = IIO_VOLTAGE, \ .type = IIO_VOLTAGE, \
.indexed = 1, \ .indexed = 1, \
.channel = _index, \ .channel = _index, \
.info_mask = IIO_CHAN_INFO_RAW_SEPARATE_BIT, \ .info_mask_separate = BIT(IIO_CHAN_INFO_RAW), \
.scan_index = _index, \ .scan_index = _index, \
.scan_type = { \ .scan_type = { \
.sign = 'u', \ .sign = 'u', \
......
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