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:
LSM303DLH, LSM303DLHC, LIS3DH, LSM330D, LSM330DL, LSM330DLC,
LIS331DLH, LSM303DL, LSM303DLM, LSM330, LIS2DH12, H3LIS331DL,
LNG2DM, LIS3DE, LIS2DE12, LIS2HH12

This driver can also be built as a module. If so, these modules
will be created:
- st_accel (core functions for the driver [it is mandatory]);
- st_accel_i2c (necessary for the I2C devices [optional*]);
- st_accel_spi (necessary for the SPI devices [optional*]);

(*) one of these is necessary to do something.

source code: