]> asedeno.scripts.mit.edu Git - linux.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)
commitd5b97f5c7dfcad98927fb4f3b2e99d4c3beeec9a
treebe9edae8271a45921155e7dee3ea72ba8258eceb
parent6da93a6710a3b1eb3d15b88bf96efaac322c893f
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]