aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/iio/light/vcnl4000.c6
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,
93static const struct iio_chan_spec vcnl4000_channels[] = { 93static const struct iio_chan_spec vcnl4000_channels[] = {
94 { 94 {
95 .type = IIO_LIGHT, 95 .type = IIO_LIGHT,
96 .info_mask = IIO_CHAN_INFO_RAW_SEPARATE_BIT | 96 .info_mask_separate = BIT(IIO_CHAN_INFO_RAW) |
97 IIO_CHAN_INFO_SCALE_SEPARATE_BIT, 97 BIT(IIO_CHAN_INFO_SCALE),
98 }, { 98 }, {
99 .type = IIO_PROXIMITY, 99 .type = IIO_PROXIMITY,
100 .info_mask = IIO_CHAN_INFO_RAW_SEPARATE_BIT, 100 .info_mask_separate = BIT(IIO_CHAN_INFO_RAW),
101 } 101 }
102}; 102};
103 103