浏览代码

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 年之前
父节点
当前提交
9aa5aad872
共有 1 个文件被更改,包括 1 次插入1 次删除
  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;
 }