]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
iio: improve IIO_CONCENTRATION channel type description
authorTomasz Duszynski <tomasz.duszynski@octakon.com>
Mon, 1 Jun 2020 16:15:52 +0000 (18:15 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 19 Aug 2020 06:23:45 +0000 (08:23 +0200)
commitf616ff202deb590a74be3678904d145b7fb64e80
tree87fc849e7bf3d99afcc75c5da0a5f58c725df406
parentddd982f1abc67b77fe7adb5493f4a89c88295e1b
iio: improve IIO_CONCENTRATION channel type description

[ Upstream commit df16c33a4028159d1ba8a7061c9fa950b58d1a61 ]

IIO_CONCENTRATION together with INFO_RAW specifier is used for reporting
raw concentrations of pollutants. Raw value should be meaningless
before being properly scaled. Because of that description shouldn't
mention raw value unit whatsoever.

Fix this by rephrasing existing description so it follows conventions
used throughout IIO ABI docs.

Fixes: 8ff6b3bc94930 ("iio: chemical: Add IIO_CONCENTRATION channel type")
Signed-off-by: Tomasz Duszynski <tomasz.duszynski@octakon.com>
Acked-by: Matt Ranostay <matt.ranostay@konsulko.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Documentation/ABI/testing/sysfs-bus-iio