staging:iio:spear_adc: Report scale as fractional value
authorLars-Peter Clausen <lars@metafoo.de>
Sat, 28 Sep 2013 09:31:00 +0000 (10:31 +0100)
committerJonathan Cameron <jic23@kernel.org>
Tue, 1 Oct 2013 15:19:13 +0000 (16:19 +0100)
commitbfbab2bcf9718ef5e778df8a746e5f4fb8ccd4f1
tree27cddbca0aa823999c3089da9997d367e90248e6
parent4f9be985865f9c83ed724b62be9bb65921226221
staging:iio:spear_adc: Report scale as fractional value

Move the complexity of calculating the fixed point scale to the core.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Cc: Stefan Roese <sr@denx.de>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/staging/iio/adc/spear_adc.c