diff options
author | Markus Pargmann <mpa@pengutronix.de> | 2015-08-12 16:50:05 +0200 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2015-08-16 11:51:22 +0200 |
commit | 74e04345dc7e111fd151923d2de32267f1aae321 (patch) | |
tree | 28a0042a0dc286771a2a2e8aaddb080d2b9e162f /drivers/sfi | |
parent | iio: bmg160: Use i2c regmap instead of direct i2c access (diff) | |
download | linux-74e04345dc7e111fd151923d2de32267f1aae321.tar.xz linux-74e04345dc7e111fd151923d2de32267f1aae321.zip |
iio: bmg160: Remove i2c_client from data struct
i2c_client variable is not really used anymore in the core driver. It is
only used to get the device to make proper outputs.
This patch replaces all i2c_client usage through direct usage of the
device pointer.
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>
Diffstat (limited to 'drivers/sfi')
0 files changed, 0 insertions, 0 deletions