STMicroelectronics accelerometers 3-Axis Driver

modulename: st_accel.ko

configname: CONFIG_IIO_ST_ACCEL_3AXIS

Linux Kernel Configuration
└─>Device Drivers
└─>Industrial I/O support
└─>Accelerometers
└─>STMicroelectronics accelerometers 3-Axis Driver
In linux kernel since version 3.1 (release Date: 2011-10-24)  
Say yes here to build support for STMicroelectronics accelerometers:
LSM303C, LSM303DLH, LSM303DLHC, LIS3DH, LSM330D, LSM330DL, LSM330DLC,
LIS331DLH, LSM303DL, LSM303DLM, LSM330, LIS2DH12, H3LIS331DL,
LNG2DM, LIS3DE, LIS2DE12, LIS2HH12

Also need to enable at least one of I2C and SPI interface drivers
below.

source code: