summaryrefslogtreecommitdiffstats
path: root/drivers/media
diff options
context:
space:
mode:
authorMarkus Pargmann <mpa@pengutronix.de>2015-08-12 16:50:06 +0200
committerJonathan Cameron <jic23@kernel.org>2015-08-16 11:51:22 +0200
commitebc6eb5907acecdebbd0e180a754d98f21045fbc (patch)
tree43fe3eed5554aac81b65ddbc0d60a6229332d3f7 /drivers/media
parentiio: bmg160: Remove i2c_client from data struct (diff)
downloadlinux-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