diff options
author | Jonathan Cameron <jic23@kernel.org> | 2013-02-27 20:33:55 +0100 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2013-03-17 20:49:37 +0100 |
commit | bb7c5940248ac53fdb6c3684bbfc20f8a26f1acd (patch) | |
tree | cc718a0b425137ee598218cc157708f12c4a5207 /drivers/iio/light | |
parent | iio:light:tsl2563 move to info_mask_(shared_by_type/separate) (diff) | |
download | linux-bb7c5940248ac53fdb6c3684bbfc20f8a26f1acd.tar.xz linux-bb7c5940248ac53fdb6c3684bbfc20f8a26f1acd.zip |
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: Jonathan Cameron <jic23@kernel.org>
cc: Peter Meerwald <pmeerw@pmeerw.net>
Diffstat (limited to 'drivers/iio/light')
-rw-r--r-- | drivers/iio/light/vcnl4000.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/iio/light/vcnl4000.c b/drivers/iio/light/vcnl4000.c index 2aa748fbdc0e..1014943d949a 100644 --- a/drivers/iio/light/vcnl4000.c +++ b/drivers/iio/light/vcnl4000.c @@ -93,11 +93,11 @@ static int vcnl4000_measure(struct vcnl4000_data *data, u8 req_mask, static const struct iio_chan_spec vcnl4000_channels[] = { { .type = IIO_LIGHT, - .info_mask = IIO_CHAN_INFO_RAW_SEPARATE_BIT | - IIO_CHAN_INFO_SCALE_SEPARATE_BIT, + .info_mask_separate = BIT(IIO_CHAN_INFO_RAW) | + BIT(IIO_CHAN_INFO_SCALE), }, { .type = IIO_PROXIMITY, - .info_mask = IIO_CHAN_INFO_RAW_SEPARATE_BIT, + .info_mask_separate = BIT(IIO_CHAN_INFO_RAW), } }; |