Freescale MMA7455L/MMA7456L Accelerometer SPI Driver

modulename: mma7455_spi.ko

configname: CONFIG_MMA7455_SPI

Linux Kernel Configuration
└─>Device Drivers
└─>Industrial I/O support
└─>Accelerometers
└─>Freescale MMA7455L/MMA7456L Accelerometer SPI Driver
In linux kernel since version 4.1 (release Date: 2015-06-21)  
Say yes here to build support for the Freescale MMA7455L and
MMA7456L 3-axis accelerometer.

To compile this driver as a module, choose M here: the module
will be called mma7455_spi.

source code: