Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

iio:light:adjd_s311 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>

+2 -2
+2 -2
drivers/iio/light/adjd_s311.c
··· 207 207 .type = IIO_INTENSITY, \ 208 208 .modified = 1, \ 209 209 .address = (IDX_##_color), \ 210 - .info_mask = IIO_CHAN_INFO_RAW_SEPARATE_BIT | \ 211 - IIO_CHAN_INFO_HARDWAREGAIN_SEPARATE_BIT, \ 210 + .info_mask_separate = BIT(IIO_CHAN_INFO_RAW) | \ 211 + BIT(IIO_CHAN_INFO_HARDWAREGAIN), \ 212 212 .channel2 = (IIO_MOD_LIGHT_##_color), \ 213 213 .scan_index = (_scan_idx), \ 214 214 .scan_type = IIO_ST('u', 10, 16, 0), \