summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars-Peter Clausen <lars@metafoo.de>2013-01-16 12:48:00 +0000
committerJonathan Cameron <jic23@kernel.org>2013-01-26 10:07:48 +0000
commit5eaf4ad9d72b619e4a171b80eaaffce69c8cf791 (patch)
tree6acbb19cf98d6b08f954e1b413f4995d84376aa5
parent5eda3550a3cc1987a495e9f85e5998a76d15a0aa (diff)
staging:iio:adis16400: Remove unit suffix from samplerate attribute
To be compliant to the IIO specification we should not include the "SPS" suffix in the "samplerate" attribute contents. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
-rw-r--r--drivers/staging/iio/imu/adis16400_core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/iio/imu/adis16400_core.c b/drivers/staging/iio/imu/adis16400_core.c
index aa4ffcfaf2a8..942907276a31 100644
--- a/drivers/staging/iio/imu/adis16400_core.c
+++ b/drivers/staging/iio/imu/adis16400_core.c
@@ -116,7 +116,7 @@ static ssize_t adis16400_read_frequency(struct device *dev,
ret = st->variant->get_freq(st);
if (ret < 0)
return ret;
- len = sprintf(buf, "%d SPS\n", ret);
+ len = sprintf(buf, "%d\n", ret);
return len;
}