Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 16d186b1 authored by Jonathan Cameron's avatar Jonathan Cameron
Browse files

iio:adc:ad7887 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: default avatarJonathan Cameron <jic23@kernel.org>
Acked-by: default avatarLars-Peter Clausen <lars@metafoo.de>
parent 8c1033f7
Loading
Loading
Loading
Loading
+4 −4
Original line number Original line Diff line number Diff line
@@ -207,8 +207,8 @@ static const struct ad7887_chip_info ad7887_chip_info_tbl[] = {
			.type = IIO_VOLTAGE,
			.type = IIO_VOLTAGE,
			.indexed = 1,
			.indexed = 1,
			.channel = 1,
			.channel = 1,
			.info_mask = IIO_CHAN_INFO_RAW_SEPARATE_BIT |
			.info_mask_separate = BIT(IIO_CHAN_INFO_RAW),
			IIO_CHAN_INFO_SCALE_SHARED_BIT,
			.info_mask_shared_by_type = BIT(IIO_CHAN_INFO_SCALE),
			.address = 1,
			.address = 1,
			.scan_index = 1,
			.scan_index = 1,
			.scan_type = IIO_ST('u', 12, 16, 0),
			.scan_type = IIO_ST('u', 12, 16, 0),
@@ -217,8 +217,8 @@ static const struct ad7887_chip_info ad7887_chip_info_tbl[] = {
			.type = IIO_VOLTAGE,
			.type = IIO_VOLTAGE,
			.indexed = 1,
			.indexed = 1,
			.channel = 0,
			.channel = 0,
			.info_mask = IIO_CHAN_INFO_RAW_SEPARATE_BIT |
			.info_mask_separate = BIT(IIO_CHAN_INFO_RAW),
			IIO_CHAN_INFO_SCALE_SHARED_BIT,
			.info_mask_shared_by_type = BIT(IIO_CHAN_INFO_SCALE),
			.address = 0,
			.address = 0,
			.scan_index = 0,
			.scan_index = 0,
			.scan_type = IIO_ST('u', 12, 16, 0),
			.scan_type = IIO_ST('u', 12, 16, 0),