diff options
author | Markus Pargmann <mpa@pengutronix.de> | 2015-08-12 16:50:06 +0200 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2015-08-16 11:51:22 +0200 |
commit | ebc6eb5907acecdebbd0e180a754d98f21045fbc (patch) | |
tree | 43fe3eed5554aac81b65ddbc0d60a6229332d3f7 /drivers/media | |
parent | iio: bmg160: Remove i2c_client from data struct (diff) | |
download | linux-ebc6eb5907acecdebbd0e180a754d98f21045fbc.tar.xz linux-ebc6eb5907acecdebbd0e180a754d98f21045fbc.zip |
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>
Diffstat (limited to 'drivers/media')
0 files changed, 0 insertions, 0 deletions