On Sun, 2014-02-23 at 23:07 +0100, Sebastian Reichel wrote: > This is a driver for an A/D converter, which belongs into > drivers/iio/adc. Please use git format-patch -M > diff --git a/drivers/iio/adc/twl4030-madc.c b/drivers/iio/adc/twl4030-madc.c [] > +static int twl4030_madc_read(struct iio_dev *iio_dev, > + const struct iio_chan_spec *chan, > + int *val, int *val2, long mask) > +{ [] > + req.do_avg = !!(mask & IIO_CHAN_INFO_AVERAGE_RAW); It looks like do_avg should be bool not u16 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html