Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5eaf4ad9 authored by Lars-Peter Clausen's avatar Lars-Peter Clausen Committed by Jonathan Cameron
Browse files

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: default avatarLars-Peter Clausen <lars@metafoo.de>
Signed-off-by: default avatarJonathan Cameron <jic23@kernel.org>
parent 5eda3550
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;
}