hwmon/lis3dh: make read/write of the range sys entry consistent
authorWang Zhifeng <zhifeng.wang@intel.com>
Thu, 10 May 2012 01:24:53 +0000 (09:24 +0800)
committerbuildbot <buildbot@intel.com>
Fri, 11 May 2012 07:55:14 +0000 (00:55 -0700)
commit3ebca466c76dc2b64d1df8519339d5f6c4127932
tree8699c6545d58c4f9ace071a15f9dea0802a98941
parentbca13bd559dbc82ee583dff1e719f28d7abe5ccf
hwmon/lis3dh: make read/write of the range sys entry consistent

BZ: 34712

The range sys entry uses different values for reading and writing.
This commit changes that to use the same values.

Change-Id: I20f7475aeb3690ecaf0fef56f5f383cdbf441137
Signed-off-by: Wang Zhifeng <zhifeng.wang@intel.com>
Reviewed-on: http://android.intel.com:8080/48101
Reviewed-by: Liu, Hong <hong.liu@intel.com>
Reviewed-by: Chen, Jie D <jie.d.chen@intel.com>
Reviewed-by: Du, Alek <alek.du@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
arch/x86/platform/intel-mid/device_libs/platform_lis3dh.c
arch/x86/platform/intel-mid/device_libs/platform_lsm303.c
drivers/hwmon/lis3dh_acc.c
include/linux/input/lis3dh.h