commit | 74e04345dc7e111fd151923d2de32267f1aae321 | [log] [tgz] |
---|---|---|
author | Markus Pargmann <mpa@pengutronix.de> | Wed Aug 12 16:50:05 2015 +0200 |
committer | Jonathan Cameron <jic23@kernel.org> | Sun Aug 16 10:51:22 2015 +0100 |
tree | 28a0042a0dc286771a2a2e8aaddb080d2b9e162f | |
parent | c6c9e995bcd8349f271b39e6abd9bd2f090ec5bd [diff] |
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>