iio: ad9523: Fix displayed phase
authorLars-Peter Clausen <lars@metafoo.de>
Mon, 25 Jun 2018 08:03:07 +0000 (11:03 +0300)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Tue, 24 Jul 2018 17:17:08 +0000 (18:17 +0100)
commit5a4e33c1c53ae7d4425f7d94e60e4458a37b349e
tree73ecb76f0d1a678199baeb14a73f1a9d83f9786c
parentffc0d638c838ff670fee2eb43d3884d05cb86faa
iio: ad9523: Fix displayed phase

Fix the displayed phase for the ad9523 driver. Currently the most
significant decimal place is dropped and all other digits are shifted one
to the left. This is due to a multiplication by 10, which is not necessary,
so remove it.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Alexandru Ardelean <alexandru.ardelean@analog.com>
Fixes: cd1678f9632 ("iio: frequency: New driver for AD9523 SPI Low Jitter Clock Generator")
Cc: <Stable@vger.kernel.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/frequency/ad9523.c