Skip to content

Commit

Permalink
staging:iio:adis16400: Remove unit suffix from samplerate attribute
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Lars-Peter Clausen authored and Jonathan Cameron committed Jan 26, 2013
1 parent 5eda355 commit 5eaf4ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/staging/iio/imu/adis16400_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 5eaf4ad

Please sign in to comment.