commit | 6807d7211327dbdd8df3692f3d26ca711514ba71 | [log] [tgz] |
---|---|---|
author | Lars-Peter Clausen <lars@metafoo.de> | Tue Nov 20 13:36:00 2012 +0000 |
committer | Jonathan Cameron <jic23@kernel.org> | Tue Nov 20 21:26:39 2012 +0000 |
tree | 3654bb4d0d6b2d9afd6534b3907f924c3d5e069d | |
parent | c4f0c6936762ecd6b453275611a785dfdee0d417 [diff] |
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>