iio: pressure: mpl115: do not rely on structure field ordering

am: 2ab6b8c717

Change-Id: Ic82b55fc5ed4a3f92939355b4324427ec52c5436
This commit is contained in:
Peter Rosin 2017-03-12 08:20:24 +00:00 committed by android-build-merger
commit d6ba22f15d

View file

@ -136,6 +136,7 @@ static const struct iio_chan_spec mpl115_channels[] = {
{
.type = IIO_TEMP,
.info_mask_separate = BIT(IIO_CHAN_INFO_RAW),
.info_mask_shared_by_type =
BIT(IIO_CHAN_INFO_OFFSET) | BIT(IIO_CHAN_INFO_SCALE),
},
};