STMicroelectronics gyroscopes 3-Axis Driver

modulename: st_gyro.ko

configname: CONFIG_IIO_ST_GYRO_3AXIS

Linux Kernel Configuration
└─>Device Drivers
└─>Industrial I/O support
└─>Digital gyroscope sensors
└─>I2C support
└─>STMicroelectronics gyroscopes 3-Axis Driver
In linux kernel since version 3.1 (release Date: 2011-10-24)  
Say yes here to build support for STMicroelectronics gyroscopes:
L3G4200D, LSM330DL, L3GD20, L3GD20H, LSM330DLC, L3G4IS, LSM330.

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

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

source code: