iio:freq:ad9523 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>
This commit is contained in:
Jonathan Cameron 2013-02-27 19:28:57 +00:00
parent 90b4637400
commit beacbaac99
1 changed files with 4 additions and 4 deletions

View File

@ -920,10 +920,10 @@ static int ad9523_setup(struct iio_dev *indio_dev)
st->ad9523_channels[i].channel = chan->channel_num; st->ad9523_channels[i].channel = chan->channel_num;
st->ad9523_channels[i].extend_name = st->ad9523_channels[i].extend_name =
chan->extended_name; chan->extended_name;
st->ad9523_channels[i].info_mask = st->ad9523_channels[i].info_mask_separate =
IIO_CHAN_INFO_RAW_SEPARATE_BIT | BIT(IIO_CHAN_INFO_RAW) |
IIO_CHAN_INFO_PHASE_SEPARATE_BIT | BIT(IIO_CHAN_INFO_PHASE) |
IIO_CHAN_INFO_FREQUENCY_SEPARATE_BIT; BIT(IIO_CHAN_INFO_FREQUENCY);
} }
} }