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

iio:dac:max517 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: Roland Stigge <stigge@antcom.de>

+2 -2
+2 -2
drivers/iio/dac/max517.c
··· 146 146 .indexed = 1, \ 147 147 .output = 1, \ 148 148 .channel = (chan), \ 149 - .info_mask = IIO_CHAN_INFO_RAW_SEPARATE_BIT | \ 150 - IIO_CHAN_INFO_SCALE_SEPARATE_BIT, \ 149 + .info_mask_separate = BIT(IIO_CHAN_INFO_RAW) | \ 150 + BIT(IIO_CHAN_INFO_SCALE), \ 151 151 .scan_type = IIO_ST('u', 8, 8, 0), \ 152 152 } 153 153