diff options
author | Song Hongyan <hongyan.song@intel.com> | 2017-03-20 17:12:54 +0800 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2017-03-25 16:25:11 +0000 |
commit | e0ad9b73e81a2dfb8cf8b375fefbb0891a8187a1 (patch) | |
tree | 5b1a8d49f760bd3c7854189cd025c38847e49769 /drivers/rtc/rtc-ds1302.c | |
parent | 5e7f47e495ad3657e1a7264bf20fb363607161e6 (diff) | |
download | talos-obmc-linux-e0ad9b73e81a2dfb8cf8b375fefbb0891a8187a1.tar.gz talos-obmc-linux-e0ad9b73e81a2dfb8cf8b375fefbb0891a8187a1.zip |
iio: hid-sensor-attributes: Fix gravity sensor scale value not right issue
Scale value include two parts: unit conversion and exponent conversion.
Add gravity unit convert table to fix gravity sensor scale value not
right issue.
Signed-off-by: Song Hongyan <hongyan.song@intel.com>
Acked-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/rtc/rtc-ds1302.c')
0 files changed, 0 insertions, 0 deletions