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

iio:amplifiers:ad8366 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: Michael Hennerich <michael.hennerich@analog.com>

+1 -1
+1 -1
drivers/iio/amplifiers/ad8366.c
··· 125 125 .output = 1, \ 126 126 .indexed = 1, \ 127 127 .channel = _channel, \ 128 - .info_mask = IIO_CHAN_INFO_HARDWAREGAIN_SEPARATE_BIT,\ 128 + .info_mask_separate = BIT(IIO_CHAN_INFO_HARDWAREGAIN),\ 129 129 } 130 130 131 131 static const struct iio_chan_spec ad8366_channels[] = {