Browse Source

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>
Lars-Peter Clausen 12 years ago
parent
commit
5eaf4ad9d7
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/staging/iio/imu/adis16400_core.c

+ 1 - 1
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;
 }