hwmon: lis3dh: Add support of the ST LSM303DLHC accelerometer
authorZhifeng Wang <zhifeng.wang@intel.com>
Wed, 15 Feb 2012 03:03:17 +0000 (11:03 +0800)
committerbuildbot <buildbot@intel.com>
Thu, 16 Feb 2012 01:56:59 +0000 (17:56 -0800)
commit077418691c755dfe9e89be0cf49aaade6b43511c
tree0cad4b76253792009bc4162575123b07dc3cba6e
parente23b777512e794220e0a4b68789b78d6aa0d9d1a
hwmon: lis3dh: Add support of the ST LSM303DLHC accelerometer

BZ: 22035

Modify the ST LIS3DH accelerometer driver code to support the new type
accelerometer ST LSM303DLHC.

Basically, the ST LSM303DLHC is a combination of the LIS3DH accelerometer
and a magnetometer. So very few code changes are necessary.

Change-Id: I858870fbf48336db0ad7b14ed0f43478ec76b777
Signed-off-by: Zhifeng Wang <zhifeng.wang@intel.com>
Reviewed-on: http://android.intel.com:8080/22091
Reviewed-by: Liu, Hong <hong.liu@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/board-blackbay.c
drivers/hwmon/lis3dh_acc.c
include/linux/input/lis3dh.h