iio: bmg160: Separate i2c and core driver
authorMarkus Pargmann <mpa@pengutronix.de>
Wed, 19 Aug 2015 12:12:45 +0000 (14:12 +0200)
committerJonathan Cameron <jic23@kernel.org>
Mon, 31 Aug 2015 16:04:23 +0000 (17:04 +0100)
commit13426454b6493a847cebe276fb1ec3a7f1d48d0e
tree44e0323857282192fc582d197e5b2581b50c300a
parentcb119d5350839297bbe8a382dbb2feff545742b5
iio: bmg160: Separate i2c and core driver

This patch separates the core driver using regmap and the i2c driver
which creates the i2c regmap. Also in the Kconfig file BMG160 and
BMG160_I2C are separate now.

Signed-off-by: Markus Pargmann <mpa@pengutronix.de>
Reviewed-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/gyro/Kconfig
drivers/iio/gyro/Makefile
drivers/iio/gyro/bmg160.c [deleted file]
drivers/iio/gyro/bmg160.h [new file with mode: 0644]
drivers/iio/gyro/bmg160_core.c [new file with mode: 0644]
drivers/iio/gyro/bmg160_i2c.c [new file with mode: 0644]