diff options
| author | Lars-Peter Clausen <lars@metafoo.de> | 2016-10-19 20:07:03 +0300 |
|---|---|---|
| committer | Jonathan Cameron <jic23@kernel.org> | 2016-10-23 21:34:15 +0300 |
| commit | 382a4777ec03ef2b3320a39eec415003f76e9be4 (patch) | |
| tree | 58b69d7394c7390253fc2a9f6cd5f711ac775cda /scripts | |
| parent | 91b7334bae734586b153a79fd82873c5d00eb950 (diff) | |
| download | linux-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')
0 files changed, 0 insertions, 0 deletions
