staging:iio:adis16260: Remove 'SPS' suffix from samplerate attribute
authorLars-Peter Clausen <lars@metafoo.de>
Wed, 17 Jul 2013 14:44:00 +0000 (15:44 +0100)
committerJonathan Cameron <jic23@kernel.org>
Sat, 3 Aug 2013 17:41:21 +0000 (18:41 +0100)
This is not part of the ABI.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/staging/iio/gyro/adis16260_core.c

index 4b62000cc7b6dda3053993f0bacb60897ca25e65..a140d73f688a5d073bfa407e85317d448bbb1ce6 100644 (file)
@@ -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;
 }