From 5eaf4ad9d72b619e4a171b80eaaffce69c8cf791 Mon Sep 17 00:00:00 2001 From: Lars-Peter Clausen Date: Wed, 16 Jan 2013 12:48:00 +0000 Subject: [PATCH] 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 Signed-off-by: Jonathan Cameron --- drivers/staging/iio/imu/adis16400_core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.30.2