summaryrefslogtreecommitdiff
path: root/drivers/staging/iio
diff options
context:
space:
mode:
authorLars-Peter Clausen <lars@metafoo.de>2013-07-17 18:44:00 +0400
committerJonathan Cameron <jic23@kernel.org>2013-08-03 21:41:21 +0400
commit8aa55d103c8de1a2fff8af28a4390140869c6c3c (patch)
tree41b1bab005d08d9ffae19b72ca82c532ab96731d /drivers/staging/iio
parent73149badce2dbd9483e1af7010c4fb6425500ec0 (diff)
downloadlinux-8aa55d103c8de1a2fff8af28a4390140869c6c3c.tar.xz
staging:iio:adis16260: Fix minor style issue
Delete some extra whitespace. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/staging/iio')
-rw-r--r--drivers/staging/iio/gyro/adis16260_core.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/iio/gyro/adis16260_core.c b/drivers/staging/iio/gyro/adis16260_core.c
index c70094f6afce..4b62000cc7b6 100644
--- a/drivers/staging/iio/gyro/adis16260_core.c
+++ b/drivers/staging/iio/gyro/adis16260_core.c
@@ -131,9 +131,9 @@ static ssize_t adis16260_read_frequency(struct device *dev,
return ret;
if (spi_get_device_id(adis->spi)->driver_data) /* If an adis16251 */
- sps = (t & ADIS16260_SMPL_PRD_TIME_BASE) ? 8 : 256;
+ sps = (t & ADIS16260_SMPL_PRD_TIME_BASE) ? 8 : 256;
else
- sps = (t & ADIS16260_SMPL_PRD_TIME_BASE) ? 66 : 2048;
+ sps = (t & ADIS16260_SMPL_PRD_TIME_BASE) ? 66 : 2048;
sps /= (t & ADIS16260_SMPL_PRD_DIV_MASK) + 1;
len = sprintf(buf, "%d SPS\n", sps);
return len;