On 03/02/2013 05:16 PM, Jonathan Cameron wrote: > The original info_mask is going away in favour of the broken out versions. > > Signed-off-by: Jonathan Cameron <jic23@xxxxxxxxxx> > cc: Lars-Peter Clausen <lars@xxxxxxxxxx> > --- > drivers/iio/imu/adis16400_core.c | 47 ++++++++++++++++++++-------------------- > 1 file changed, 23 insertions(+), 24 deletions(-) > > diff --git a/drivers/iio/imu/adis16400_core.c b/drivers/iio/imu/adis16400_core.c > index b7f215e..2111068 100644 > --- a/drivers/iio/imu/adis16400_core.c > +++ b/drivers/iio/imu/adis16400_core.c > @@ -484,8 +484,7 @@ static int adis16400_read_raw(struct iio_dev *indio_dev, > .indexed = 1, \ > .channel = 0, \ > .extend_name = name, \ > - .info_mask = IIO_CHAN_INFO_RAW_SEPARATE_BIT | \ > - IIO_CHAN_INFO_SCALE_SEPARATE_BIT, \ > + .info_mask_separate = IIO_CHAN_INFO_RAW | IIO_CHAN_INFO_SCALE, \ BIT is missing. > @@ -587,9 +587,8 @@ static int adis16400_read_raw(struct iio_dev *indio_dev, > .type = IIO_TEMP, \ > .indexed = 1, \ > .channel = 0, \ > - .info_mask = IIO_CHAN_INFO_RAW_SEPARATE_BIT | \ > - IIO_CHAN_INFO_OFFSET_SEPARATE_BIT | \ > - IIO_CHAN_INFO_SCALE_SEPARATE_BIT, \ > + .info_mask_separate = IIO_CHAN_INFO_RAW | IIO_CHAN_INFO_OFFSET | \ > + IIO_CHAN_INFO_SCALE, \ BIT is missing. -- To unsubscribe from this list: send the line "unsubscribe linux-iio" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html