From: Lars-Peter Clausen Date: Wed, 17 Jul 2013 14:44:00 +0000 (+0100) Subject: staging:iio:adis16260: Remove 'SPS' suffix from samplerate attribute X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=9aa5aad8724fc7dd9d57a71d8894415850ed349f;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git staging:iio:adis16260: Remove 'SPS' suffix from samplerate attribute This is not part of the ABI. Signed-off-by: Lars-Peter Clausen Signed-off-by: Jonathan Cameron --- diff --git a/drivers/staging/iio/gyro/adis16260_core.c b/drivers/staging/iio/gyro/adis16260_core.c index 4b62000cc7b6..a140d73f688a 100644 --- a/drivers/staging/iio/gyro/adis16260_core.c +++ b/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; }