Analog Devices ADXL345 3-Axis Digital Accelerometer I2C Driver

modulename: adxl345_i2c.ko

configname: CONFIG_ADXL345_I2C

Linux Kernel Configuration
└─>Device Drivers
└─>Industrial I/O support
└─>Accelerometers
└─>Analog Devices ADXL345 3-Axis Digital Accelerometer I2C Driver
In linux kernel since version 4.2 (release Date: 2015-08-30)  
Say Y here if you want to build support for the Analog Devices
ADXL345 or ADXL375 3-axis digital accelerometer.

To compile this driver as a module, choose M here: the module
will be called adxl345_i2c and you will also get adxl345_core
for the core module.

source code: