]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit434241206f431d89301b654dea62ad6ef7b22327
tree27cddbca0aa823999c3089da9997d367e90248e6
parentbe9ec125ce37ebf002cd33ac3fbeffdf1a4bd618
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