Commit bb7c5940 authored by Jonathan Cameron's avatar Jonathan Cameron

iio:light:vcnl4000 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: Peter Meerwald <pmeerw@pmeerw.net>
parent d292ef8d
...@@ -93,11 +93,11 @@ static int vcnl4000_measure(struct vcnl4000_data *data, u8 req_mask, ...@@ -93,11 +93,11 @@ static int vcnl4000_measure(struct vcnl4000_data *data, u8 req_mask,
static const struct iio_chan_spec vcnl4000_channels[] = { static const struct iio_chan_spec vcnl4000_channels[] = {
{ {
.type = IIO_LIGHT, .type = IIO_LIGHT,
.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),
}, { }, {
.type = IIO_PROXIMITY, .type = IIO_PROXIMITY,
.info_mask = IIO_CHAN_INFO_RAW_SEPARATE_BIT, .info_mask_separate = BIT(IIO_CHAN_INFO_RAW),
} }
}; };
......
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