summaryrefslogtreecommitdiff
path: root/scripts/mod
diff options
context:
space:
mode:
authorLars-Peter Clausen <lars@metafoo.de>2016-10-19 20:07:03 +0300
committerJonathan Cameron <jic23@kernel.org>2016-10-23 21:34:15 +0300
commit382a4777ec03ef2b3320a39eec415003f76e9be4 (patch)
tree58b69d7394c7390253fc2a9f6cd5f711ac775cda /scripts/mod
parent91b7334bae734586b153a79fd82873c5d00eb950 (diff)
downloadlinux-382a4777ec03ef2b3320a39eec415003f76e9be4.tar.xz
staging:iio:ad7606: Move set_drvdata() into common code
Both the platform_device and SPI driver call set_drvdata() at the end of their probe function. Move this into the common probe() function to reduce duplicated code. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'scripts/mod')
0 files changed, 0 insertions, 0 deletions