On 06/25/2012 08:11 PM, Peter Meerwald wrote: > drop extra argument, move cast Currious. I wonder how that one snuck in! Thanks. > > Signed-off-by: Peter Meerwald <pmeerw@xxxxxxxxxx> Acked-by: Jonathan Cameron <jic23@xxxxxxxxxx> > --- > drivers/staging/iio/Documentation/generic_buffer.c | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) > > diff --git a/drivers/staging/iio/Documentation/generic_buffer.c b/drivers/staging/iio/Documentation/generic_buffer.c > index bf55335..8d6e91c 100644 > --- a/drivers/staging/iio/Documentation/generic_buffer.c > +++ b/drivers/staging/iio/Documentation/generic_buffer.c > @@ -72,8 +72,7 @@ void print2byte(int input, struct iio_channel_info *info) > val &= (1 << info->bits_used) - 1; > val = (int16_t)(val << (16 - info->bits_used)) >> > (16 - info->bits_used); > - printf("%05f ", val, > - (float)(val + info->offset)*info->scale); > + printf("%05f ", ((float)val + info->offset)*info->scale); > } else { > uint16_t val = input; > val &= (1 << info->bits_used) - 1; > -- 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