From: Laurentiu Palcu Date: Fri, 29 Aug 2014 08:38:00 +0000 (+0100) Subject: iio: accel: BMC150: fix scale value for 16G X-Git-Tag: fixes-for-v3.18-merge-window~15^2~437^2~23 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=823615e2de6880de3c8e681333147a09719f6fdb;p=pandora-kernel.git iio: accel: BMC150: fix scale value for 16G According to documentation ([1] - page 27), the range for 16G is 7.81mg/LSB. Converted to SI, this is: 7.81 * 10^-3 * 9.80665 m/s^2 / LSB = 0.0765899365 m/s^2 / LSB [1] http://ae-bst.resource.bosch.com/media/products/dokumente/bmc150/BST-BMC150-DS000-04.pdf Signed-off-by: Laurentiu Palcu Signed-off-by: Jonathan Cameron --- Reading git-diff-tree failed