]> git.baikalelectronics.ru Git - kernel.git/commit
iio: accel: mma9551: split driver to expose mma955x api
authorIrina Tirdea <irina.tirdea@intel.com>
Sun, 11 Jan 2015 19:10:15 +0000 (21:10 +0200)
committerJonathan Cameron <jic23@kernel.org>
Tue, 27 Jan 2015 18:49:56 +0000 (18:49 +0000)
commitd04502b8e3744be04932efd9a3b99727b4b208c1
treebe9edae8271a45921155e7dee3ea72ba8258eceb
parent58d141f1633d3c952fadae9ff3eecf553510d3ac
iio: accel: mma9551: split driver to expose mma955x api

Freescale has the MMA955xL family of devices that use the
same communication protocol (based on i2c messages):
http://www.freescale.com/files/sensors/doc/data_sheet/MMA955xL.pdf.

To support more devices from this family, we need to split the
mma9551 driver so we can export the common functions that will
be used by other mma955x drivers.

Signed-off-by: Irina Tirdea <irina.tirdea@intel.com>
Reviewed-by: Vlad Dogaru <vlad.dogaru@intel.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/accel/Kconfig
drivers/iio/accel/Makefile
drivers/iio/accel/mma9551.c
drivers/iio/accel/mma9551_core.c [new file with mode: 0644]
drivers/iio/accel/mma9551_core.h [new file with mode: 0644]