Commit c8fe38a7 authored by Jonathan Cameron's avatar Jonathan Cameron
Browse files

iio:adc:ti-adc081 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 avatarThierry Reding <thierry.reding@avionic-design.de>
parent fb45a1b3
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -55,8 +55,8 @@ static int adc081c_read_raw(struct iio_dev *iio,


static const struct iio_chan_spec adc081c_channel = {
static const struct iio_chan_spec adc081c_channel = {
	.type = IIO_VOLTAGE,
	.type = IIO_VOLTAGE,
	.info_mask = IIO_CHAN_INFO_SCALE_SHARED_BIT |
	.info_mask_shared_by_type = BIT(IIO_CHAN_INFO_SCALE),
		     IIO_CHAN_INFO_RAW_SEPARATE_BIT,
	.info_mask_separate = BIT(IIO_CHAN_INFO_RAW),
};
};


static const struct iio_info adc081c_info = {
static const struct iio_info adc081c_info = {