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

iio:dac:mcp4725 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/dac/mcp4725.c
··· 69 69 .indexed = 1, 70 70 .output = 1, 71 71 .channel = 0, 72 - .info_mask = IIO_CHAN_INFO_RAW_SEPARATE_BIT | 73 - IIO_CHAN_INFO_SCALE_SHARED_BIT, 72 + .info_mask_separate = BIT(IIO_CHAN_INFO_RAW), 73 + .info_mask_shared_by_type = BIT(IIO_CHAN_INFO_SCALE), 74 74 .scan_type = IIO_ST('u', 12, 16, 0), 75 75 }; 76 76