staging:iio:adis16400: Remove unit suffix from samplerate attribute
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>
This commit is contained in:
parent
5eda3550a3
commit
5eaf4ad9d7
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue