]> git.karo-electronics.de Git - karo-tx-linux.git/commit
iio: Factor out fixed point number parsing into its own function
authorLars-Peter Clausen <lars@metafoo.de>
Tue, 20 Nov 2012 13:36:00 +0000 (13:36 +0000)
committerJonathan Cameron <jic23@kernel.org>
Tue, 20 Nov 2012 21:26:39 +0000 (21:26 +0000)
commit6807d7211327dbdd8df3692f3d26ca711514ba71
tree3654bb4d0d6b2d9afd6534b3907f924c3d5e069d
parentc4f0c6936762ecd6b453275611a785dfdee0d417
iio: Factor out fixed point number parsing into its own function

Factor out the code for parsing fixed point numbers into its own function and
make this function globally available. This allows us to reuse the code to parse
fixed point numbers in individual IIO drivers.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/industrialio-core.c
include/linux/iio/iio.h