]> git.baikalelectronics.ru Git - kernel.git/commit
iio: fix pressure data output unit in hid-sensor-attributes
authorKweh, Hock Leong <hock.leong.kweh@intel.com>
Mon, 29 Aug 2016 10:50:56 +0000 (18:50 +0800)
committerJonathan Cameron <jic23@kernel.org>
Sat, 3 Sep 2016 16:09:58 +0000 (17:09 +0100)
commitb747f8366ed6615b8d85d8632466e32481c649dd
tree0588ba60dbdcd297e8ea9ef54b91730973440d15
parent551a5830e62d1b7ec9e1b83ff20089cc6e793782
iio: fix pressure data output unit in hid-sensor-attributes

According to IIO ABI definition, IIO_PRESSURE data output unit is
kilopascal:
http://lxr.free-electrons.com/source/Documentation/ABI/testing/sysfs-bus-iio

This patch fix output unit of HID pressure sensor IIO driver from pascal to
kilopascal to follow IIO ABI definition.

Signed-off-by: Kweh, Hock Leong <hock.leong.kweh@intel.com>
Reviewed-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Cc: <Stable@vger.kernel.org>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/common/hid-sensors/hid-sensor-attributes.c