iio: imu: inv_mpu6050: Separate driver into core and i2c functionality.
authorAdriana Reus <adriana.reus@intel.com>
Fri, 12 Feb 2016 11:44:44 +0000 (13:44 +0200)
committerJonathan Cameron <jic23@kernel.org>
Sat, 13 Feb 2016 20:54:00 +0000 (20:54 +0000)
commitb3eea8dacfb758baa0fe78e0cf24d5e5d288c5fe
tree32ab2ddc5f95be730faf3a050211baee78849059
parentd430f3c36ca6e71f30c00757f5d43ca83b890ff4
iio: imu: inv_mpu6050: Separate driver into core and i2c functionality.

Separate this driver into core and i2c functionality.
This is in preparation for adding spi support.

Signed-off-by: Adriana Reus <adriana.reus@intel.com>
Reviewed-by: Lucas De Marchi <lucas.demarchi@intel.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/imu/inv_mpu6050/Kconfig
drivers/iio/imu/inv_mpu6050/Makefile
drivers/iio/imu/inv_mpu6050/inv_mpu_acpi.c
drivers/iio/imu/inv_mpu6050/inv_mpu_core.c
drivers/iio/imu/inv_mpu6050/inv_mpu_i2c.c [new file with mode: 0644]
drivers/iio/imu/inv_mpu6050/inv_mpu_iio.h
drivers/iio/imu/inv_mpu6050/inv_mpu_ring.c
drivers/iio/imu/inv_mpu6050/inv_mpu_trigger.c