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

staging:iio:light:isl29018 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>
Acked-by: Rhyland Klein <rklein@nvidia.com>

+4 -4
+4 -4
drivers/staging/iio/light/isl29018.c
··· 412 412 .type = IIO_LIGHT, 413 413 .indexed = 1, 414 414 .channel = 0, 415 - .info_mask = IIO_CHAN_INFO_PROCESSED_SEPARATE_BIT | 416 - IIO_CHAN_INFO_CALIBSCALE_SEPARATE_BIT, 415 + .info_mask_separate = BIT(IIO_CHAN_INFO_PROCESSED) | 416 + BIT(IIO_CHAN_INFO_CALIBSCALE), 417 417 }, { 418 418 .type = IIO_INTENSITY, 419 419 .modified = 1, 420 - .info_mask = IIO_CHAN_INFO_RAW_SEPARATE_BIT, 420 + .info_mask_separate = BIT(IIO_CHAN_INFO_RAW), 421 421 .channel2 = IIO_MOD_LIGHT_IR, 422 422 }, { 423 423 /* Unindexed in current ABI. But perhaps it should be. */ 424 424 .type = IIO_PROXIMITY, 425 - .info_mask = IIO_CHAN_INFO_RAW_SEPARATE_BIT, 425 + .info_mask_separate = BIT(IIO_CHAN_INFO_RAW), 426 426 } 427 427 }; 428 428