staging:iio:ad7291: Use IIO_VAL_FRACTIONAL_LOG2
authorLars-Peter Clausen <lars@metafoo.de>
Fri, 14 Jun 2013 15:58:00 +0000 (16:58 +0100)
committerJonathan Cameron <jic23@kernel.org>
Fri, 14 Jun 2013 20:50:51 +0000 (21:50 +0100)
commit73a4445f302f6bf54940d36659bb008d018cef98
treebe121d41294a9a6ab16ae46ea0e46ab618782a97
parentab52a9580fb0f32a033cca8761616ed16708fc03
staging:iio:ad7291: Use IIO_VAL_FRACTIONAL_LOG2

This is a bit more straight forward and also allows better precession when using
the an in-kernel consumer.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/staging/iio/adc/ad7291.c