Commit bb7c5940248ac53fdb6c3684bbfc20f8a26f1acd
1 parent
d292ef8da3
Exists in
smarc-l5.0.0_1.0.0-ga
and in
5 other branches
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>
Showing 1 changed file with 3 additions and 3 deletions Side-by-side Diff
drivers/iio/light/vcnl4000.c
... | ... | @@ -93,11 +93,11 @@ |
93 | 93 | static const struct iio_chan_spec vcnl4000_channels[] = { |
94 | 94 | { |
95 | 95 | .type = IIO_LIGHT, |
96 | - .info_mask = IIO_CHAN_INFO_RAW_SEPARATE_BIT | | |
97 | - IIO_CHAN_INFO_SCALE_SEPARATE_BIT, | |
96 | + .info_mask_separate = BIT(IIO_CHAN_INFO_RAW) | | |
97 | + BIT(IIO_CHAN_INFO_SCALE), | |
98 | 98 | }, { |
99 | 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 |