]> git.karo-electronics.de Git - karo-tx-linux.git/commit
iio: bmg160: Use i2c regmap instead of direct i2c access
authorMarkus Pargmann <mpa@pengutronix.de>
Wed, 12 Aug 2015 14:50:04 +0000 (16:50 +0200)
committerJonathan Cameron <jic23@kernel.org>
Sun, 16 Aug 2015 09:51:21 +0000 (10:51 +0100)
commitc6c9e995bcd8349f271b39e6abd9bd2f090ec5bd
tree71429d04007cfd5de7137bf48292fea745f6d591
parent8548a63b37be4891e7972ba058b785d9468e8907
iio: bmg160: Use i2c regmap instead of direct i2c access

This patch introduces regmap usage into the driver. This is done to
later easily support the SPI interface of this chip.

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/bmg160.c