Browse Source

staging:iio:adis16260: Remove 'SPS' suffix from samplerate attribute

This is not part of the ABI.

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
9aa5aad872
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/staging/iio/gyro/adis16260_core.c

+ 1 - 1
drivers/staging/iio/gyro/adis16260_core.c

@@ -135,7 +135,7 @@ static ssize_t adis16260_read_frequency(struct device *dev,
 	else
 		sps = (t & ADIS16260_SMPL_PRD_TIME_BASE) ? 66 : 2048;
 	sps /= (t & ADIS16260_SMPL_PRD_DIV_MASK) + 1;
-	len = sprintf(buf, "%d SPS\n", sps);
+	len = sprintf(buf, "%d\n", sps);
 	return len;
 }