commit | ebc6eb5907acecdebbd0e180a754d98f21045fbc | [log] [tgz] |
---|---|---|
author | Markus Pargmann <mpa@pengutronix.de> | Wed Aug 12 16:50:06 2015 +0200 |
committer | Jonathan Cameron <jic23@kernel.org> | Sun Aug 16 10:51:22 2015 +0100 |
tree | 43fe3eed5554aac81b65ddbc0d60a6229332d3f7 | |
parent | 74e04345dc7e111fd151923d2de32267f1aae321 [diff] |
iio: bmg160: Use generic dev_drvdata i2c_get_clientdata() is specifically for i2c. Replace it with the generic dev_get/set_drvdata() to support different protocols. 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>